Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark Physics & Dark A.I. & Dark Dynamix / Rotate only on Y axis

Author
Message
wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 13th Sep 2007 15:40
Hi,
How can I tell to DP, that I want to rotate object only around Y axis ? Thanks


PS: Real programmers aren't afraid of math!.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Sep 2007 15:45
You need to apply a force on the X/Z Plain. But if the object hits something else that affects it's movement, it will tilt / fall. That's physics for you.

If you want something to stay in a particular orientation, you can assist it with two things:

1. Connect it to something else using the relevant joints.

2. Lower it's centre of gravity, so that it is harder to tilt it and it corrects itself when it does.

wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 13th Sep 2007 16:01
BatVink: I want to use for Character .. I can every loop set rotation of object to 0, but Physics still calculate X and Z axis. It wants something like in newton .. There is "upvector" i think..

or:

Can I make character as a static box and check only collision ?
I want to control character only by DBpro commands like Move object and check only collision + have own gravity, it is possible ? (like in sparky and other collisions plugins)


PS: Real programmers aren't afraid of math!.
BatVink
Moderator
21
Years of Service
User Offline
Joined: 4th Apr 2003
Location: Gods own County, UK
Posted: 13th Sep 2007 17:17
I haven't used it, but I think that is what the "Character Controller" is for

wh1sp3r
21
Years of Service
User Offline
Joined: 28th Sep 2003
Location: Czech republic
Posted: 13th Sep 2007 17:24
Character controller ? Ok, how can i set gravity for CHC How can i set position of character ?


PS: Real programmers aren't afraid of math!.

Login to post a reply

Server time is: 2024-11-24 21:22:56
Your offset time is: 2024-11-24 21:22:56