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.

Author
Message
Interplanetary Funk
16
Years of Service
User Offline
Joined: 19th Apr 2010
Location: Ipswich, United Kingdom
Posted: 31st Jan 2011 22:45 Edited at: 31st Jan 2011 22:47
I'm trying to implement a simple little bike racing minigame in my current project, and obviously the bike being able to lean is a big thing, however, no matter what I try I get an odd effect that I can't manage to fix. If you try the following code it seems as if it is being rotated globally rather than locally:

I have no idea why it does this so any help would be greatly appreciated (again lol ) so thanks in advance.

EDIT:
Also, I don't want to use the roll object functions as I can't control the exact value the roll to as easily as I can with angles.

BASIC programmers never die, they GOSUB and don't RETURN.
Satchmo
21
Years of Service
User Offline
Joined: 29th May 2005
Location:
Posted: 31st Jan 2011 22:51 Edited at: 31st Jan 2011 22:51
Ezrotate (plugin) is the only thing I can think of right now, I'm sure you could make a function but that might take some doing.

Interplanetary Funk
16
Years of Service
User Offline
Joined: 19th Apr 2010
Location: Ipswich, United Kingdom
Posted: 31st Jan 2011 23:17
OK, thank you, I've just purchased EZ Rotate as it isn't that expensive

BASIC programmers never die, they GOSUB and don't RETURN.

Login to post a reply

Server time is: 2026-07-18 02:09:14
Your offset time is: 2026-07-18 02:09:14