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 / help with mouse roll control DBP

Author
Message
Citizen James
18
Years of Service
User Offline
Joined: 28th May 2006
Location:
Posted: 30th May 2006 02:28
Hi, Im having trouble getting the mouse to make a ship roll correctly. Then I want the camera to follow with the ship, so Later I can replace the ship model with a cockpit model.

The problem Im having, is that once you turn the ship around, the roll is like reverse...I dont know how to explain it, but the controls get really twacked out.

Here's my code. Hope someone can tell me what I did wrong.


Im also having trouble getting the camera to follow the same rules as the object.
jimio
18
Years of Service
User Offline
Joined: 21st May 2006
Location: Reading, UK
Posted: 30th May 2006 23:27
Hi
I couldn't actually get your code to work (just got a rather blank green screen), but you could try using:

set object rotation zyx 1

just after you fix the pivot. The default order of xyz is not right for every situation, so it could fix it.

Good luck!
Jimio
Citizen James
18
Years of Service
User Offline
Joined: 28th May 2006
Location:
Posted: 31st May 2006 06:14
thanks, I'll try that

Check out www.audiostreet.net/ariaofaprophet Demo of my professional scoring for games and movies. Love to work with any project!

Login to post a reply

Server time is: 2024-09-24 23:23:30
Your offset time is: 2024-09-24 23:23:30