Azu Posted December 14, 2010 Share Posted December 14, 2010 Based on angular velocity. Pretty much like the Dash rings in Sonic Rush series. . Don't have to put the whole code, but you can put the math, with an explanation. Or if there's a way to set a vehicle speed towards an element, like a Marker, that's be cool too. Link to comment
12p Posted December 14, 2010 Share Posted December 14, 2010 Looks like sonic. Damn SPAM Based on angular velocity. Pretty much like the Dash rings in Sonic Rush series. . Don't have to put the whole code, but you can put the math, with an explanation. Or if there's a way to set a vehicle speed towards an element, like a Marker, that's be cool too. You should use: createMarker ==> addEventHandler("onMarkerHit") ==> setElementVelocity() Link to comment
Azu Posted December 15, 2010 Author Share Posted December 15, 2010 That's not exacty what I mean. I need to know how to set speed best on angular velocity. Link to comment
Maggi Posted December 15, 2010 Share Posted December 15, 2010 bool setElementVelocity ( element theElement, float speedX, float speedY, float speedZ ) setElementVelocity already has 3 channels (x, y ,z)... you need to create angular velocity abstraction than returns it in x,y,z then apply it to element Link to comment
Thehookerkiller01 Posted December 15, 2010 Share Posted December 15, 2010 Maybe getElementRotation first.. Link to comment
12p Posted December 15, 2010 Share Posted December 15, 2010 Now I understand what he means... getElementMatrix setElementVelocity Link to comment
Fabio(GNR) Posted December 25, 2010 Share Posted December 25, 2010 lol when i use setElementVelocity my screen says loading, everything gets white, and then network trouble Link to comment
Discord Moderators Zango Posted December 25, 2010 Discord Moderators Share Posted December 25, 2010 lol when i use setElementVelocity my screen says loading, everything gets white, and then network trouble it's the result of crossing some GTA speed threshold, tab ESC twice to get rid of it use small values in setElementVelocity Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now