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
Rotating the model...; At many different places.
Topic Started: Sep 16 2007, 03:41 AM (197 Views)
Rixeno
Member Avatar
Teo-Carliss
[ *  *  *  *  * ]
So I want to make I so that the object (model) will anyways stay in a certain angle so that it stays with many point. It's really hard to explain, but I know how to rotate a model from one point (rotx,y,z) but I was wondering if it were possible to make it rotate from two or more points, almost like physics.

Here is A photo of what I meant

Hope I said enough... :whistle:
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
 
$pecter
Member Avatar
Elite Member
[ *  *  *  * ]
Perhaps you should take a look at the car example in the examples section of this forum.

To do this you need to rotate the object from the centre based on a triangle between the centre of the object and the two ends.
Offline Profile Quote Post Goto Top
 
Rixeno
Member Avatar
Teo-Carliss
[ *  *  *  *  * ]
Yeah, I checked it out but it's very buggy and it's not very "smooth" movement for the car... I'll see if I can edit it to make it better (So that it is smoother, it doesn't "flip" for no reason, and so that it has a limit to the height such as if there was a wall it usually went over it...?)

EDIT: If somebody has a better solution please post :thumb_up:
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
 
silverfire56
Forum God
[ *  *  *  *  *  * ]
look at the old u3d demo
do you want it to work like the car?
Offline Profile Quote Post Goto Top
 
Rixeno
Member Avatar
Teo-Carliss
[ *  *  *  *  * ]
Yeah, like the car, but that when it gets near a jump, that it will "fly" instead of "stick" to the terrain... I'll try to do it using GM_ODE my adding primitives for every object to eventually make the shape (ex: Cylinder for the wheels, a bunch of rectangles for the car, etc.)... :rolleyes:
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
 
« Previous Topic · Questions about Ultimate 3D · Next Topic »
Add Reply