Set 3ds rotation pivot from Blender for JPCT use

Started by kkl, June 04, 2013, 05:26:01 PM

Previous topic - Next topic

kkl

Hi all,

Does anyone know how to set rotation pivot in Blender and export 3ds for JPCT use? I tried setting pivot to 3D cursor (the rotation point I want) and origin to 3D cursor, but JPCT can't detect it.

EgonOlsen

...and Config.useRotationPivotFrom3DS has been set to true before loading the file?

kkl

Yes, I did.

I guess setting the pivot to 3D cursor doesn't save the rotation pivot to 3ds. If the 3ds contains the pivot, it should print out something like "Setting rotation pivot of object........" in JPCT log, isn't it?

How to set rotation pivot and to be saved in 3ds in Blender?

EgonOlsen

Quote from: kkl on June 05, 2013, 03:44:44 AM
... it should print out something like "Setting rotation pivot of object........" in JPCT log, isn't it?
Yes, something like this.

kkl

I tried to figure the way in Blender, it seems like it's not exporting the rotation pivot. Do we need Bones for the rotation pivot?

EgonOlsen

Quote
Do we need Bones for the rotation pivot?
No, you "just" have to make Blender export it...