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.

Newcomers DBPro Corner / rotating independently of x,y or z axis?

Author
Message
demons breath
20
Years of Service
User Offline
Joined: 4th Oct 2003
Location: Surrey, UK
Posted: 14th Dec 2004 18:08 Edited at: 14th Dec 2004 18:12
I want to make my character (well, a sphere...) roll forwards by rotating it away from me. I have a camera in third person view. At the moment I have it rotating on its x axis, which is fine as long as you dont have him moving in any direction other than a straight line along the z direction thing (I think that's the one)...
Anyway, is there a way of making him roll depending on where he's facing?

I've put my source here for reference:





*EDIT: I'm using DBC btw*

Am I the only one here who's really confused?
Ric
20
Years of Service
User Offline
Joined: 11th Jul 2004
Location: object position x
Posted: 15th Dec 2004 01:09
Use the pitch object command (at least that's how it's done in DBPro) to x-rotate using the object's x-axis rather than the world's x-axis. Similarly using turn object and roll object will rotate the object on it's own y and z axis.


Login to post a reply

Server time is: 2024-09-23 06:21:24
Your offset time is: 2024-09-23 06:21:24