Thread: Rotating?
View Single Post
  #16  
Old 01-13-2008, 10:36 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
Quote:
Originally Posted by Knightmare1 View Post
you also said it works. did it go slow like when i tried it?
it goes slow because of:

PHP Code:
player.-= costhis.ang ) * 1;  // *1 isn't needed..
player.+= sinthis.ang ) * 1;  // *1 isn't needed

// why would you multiply something by 1..? 
try it around, for example

PHP Code:
player.-= costhis.ang ) * 3;
player.+= sinthis.ang ) * 3
or you can replace 3 with a variable for example named this.speed
and change that var based on how fast the car would drive..
__________________
Reply With Quote