Author Topic: 3D propeller animation  (Read 504 times)

Offline y_muse

  • byte
  • *
  • Posts: 4
    • View Profile
3D propeller animation
« on: December 02, 2015, 06:26:12 pm »
I created an airplane in Blender. I was wondering which one of these two options is the best:

1) create an animation and add it to the Object3D.
2) create two separate Object3D, the plane and the propellers, and rotate the propeller Object.
« Last Edit: December 02, 2015, 07:03:01 pm by y_muse »

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11777
    • View Profile
    • http://www.jpct.net
Re: 3D propeller animation
« Reply #1 on: December 02, 2015, 08:34:32 pm »
It's far better to create them as two different objects. Where the propeller ends up after exporter depends on the exporter. jPCT loads the objects, not the scene. So the only way to place it on the same spot as it's in Blender, would be to export them both in the same object space. Some exporters seem to do that, some don't. And it might depend on the scene's setting in Blender itself as well. If that doesn't work out, just place it in your code. It shouldn't be too hard to place it right with some trial and error.
Don't forget to make the propeller a child of the plane.

Offline y_muse

  • byte
  • *
  • Posts: 4
    • View Profile
Re: 3D propeller animation
« Reply #2 on: December 02, 2015, 10:29:19 pm »
Thanks ;D