www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: thejauffre on January 23, 2018, 11:50:07 am

Title: Problem with object position
Post by: thejauffre on January 23, 2018, 11:50:07 am
Hi,
I have a problem when loading some OBJ files. I'm using JPCT-AE and Vuforia. In the same world, I have to render 2-3 objects, that I export from the same scene in 3ds max.
The problem is in the positioning: even if an object has position (0,0,0) in 3ds, when I load multiple objects in JPCT the position is not correct. The objects are somehow translated. But when I load a single object, it is in the correct position.
Am I missing something?
Thanks in advance for your help.
Title: Re: Problem with object position
Post by: thejauffre on January 23, 2018, 01:32:43 pm
Ok, the problem was a rotation... In fact, rotating each object, the result appeared translated.
I solved using a Parent object, and applying the rotation only to it.