Welcome Guest [Log In] [Register]
We hope you enjoy your visit.


You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free.

Join our community!

If you are already a member please log in to your account to access all of our features:

Username:   Password:
Add Reply
bullet dll; ARG
Topic Started: May 11 2008, 02:00 AM (477 Views)
ashrat3000
Member Avatar
u3d raytracer
[ *  *  *  *  *  * ]
Has anyone got the angles with rotx roty and rotz working correctly? My models keep looking like they are floating up and down when they hit the floor, and i think its the rotation.
그대를 사랑해


Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
I'm on it.

EDIT 1:
Quick thing.

Quote:
 
rx represents the rotation about the x axis
ry represents the rotation about the y axis
rz represents the rotation about the z axis


You may want to compare that to U3d's rotations. Also, although I haven't tried anything, what exactly are you trying to do?

Quote:
 
My models keep looking like they are floating up and down when they hit the floor,

Also, make sure your models are centered at origin for use in physics. You can manipulate them in U3d to get them to the correct spot, but not in the physics engine.
Blog|EHS
Offline Profile Quote Post Goto Top
 
ashrat3000
Member Avatar
u3d raytracer
[ *  *  *  *  *  * ]
this is what i have

rotx = radtodeg(GMBULLET_GetRotationAngleAxisX(r_id))
roty = radtodeg(GMBULLET_GetRotationAngleAxisY(r_id))
rotz = radtodeg(GMBULLET_GetRotationAngleAxisZ(r_id))

As for centering, I moved the model in 3ds max and it still rotates strangely.

Also, I made the object smaller in the physics engine, so there is no more floating, but rotations are still wrong.
그대를 사랑해


Offline Profile Quote Post Goto Top
 
Rixeno
Member Avatar
Teo-Carliss
[ *  *  *  *  * ]
The GMBullet DLL is still in production, this was only the first BETA release, so that Andbna can work on the bugs, maybe if you ask him, he can give you the rotations for Bullet, then you can compare them to GM/U3D.
Report spam the nanosecond you see it.
Ninjas are everywhere, for all you know there are eleven behind you right now, including me...
Offline Profile Quote Post Goto Top
 
skarik
Member Avatar
kitten eating scum
[ *  *  *  *  *  * ]
Switch Y and Z rotations, and don't expect anything else from me anymore. My hard drive failed last night, and my dad happened to have a spare hard drive with linux.
Blog|EHS
Offline Profile Quote Post Goto Top
 
« Previous Topic · Off-topic · Next Topic »
Add Reply