My angles are all messed!

Non-platform specific questions.

My angles are all messed!

Postby GuitarManGuitar » Fri Oct 26, 2007 12:05 am

Whatever angle i put for an object it always, when i put a directional velocity, goes to the left.
Why is this??? :?: :?: :?: :?
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: My angles are all messed!

Postby pixelpoop » Fri Oct 26, 2007 1:33 am

Are you using direction instead of angle?
You have to assign a direction_velocity before you assign an angle.
If that didn't work: Try simplifying your code to just the angle change then add code back to it in small steps.
User avatar
pixelpoop
 
Posts: 276
Joined: Tue Aug 29, 2006 9:32 pm
Score: 28 Give a positive score

Re: My angles are all messed!

Postby Fuzzy » Fri Oct 26, 2007 1:40 am

Post an example from your code. I'll look at it and tell you.
Mortal Enemy of IF....THEN(and Inspector Gadget)

Still ThreeFingerPete to tekdino
User avatar
Fuzzy
 
Posts: 1068
Joined: Thu Mar 03, 2005 9:32 am
Location: Plymostic Programmer
Score: 95 Give a positive score

Re: My angles are all messed!

Postby GuitarManGuitar » Fri Oct 26, 2007 3:04 am

tysm!
You were right. I put direction velocity first the angle and it worked. :mrgreen: :mrgreen: :P :) :D
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score

Re: My angles are all messed!

Postby GuitarManGuitar » Fri Oct 26, 2007 3:33 am

directional velocity first before angle*
GuitarManGuitar
 
Posts: 31
Joined: Thu Oct 25, 2007 11:57 pm
Score: 0 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron