i need help

Pages: 12
nevermind had to reload it and it works
now it just giving me zero when i try to use actual numbers
closed account (D80DSL3A)
Glad you got it working.
Of course (1,0,0)X(0,0,0) = (0,0,0).
Try (1,0,0)X(0,1,0) should get (0,0,1)

edit: Re. TheIdeaMan advice about using type double.
I'm sorry I didn't see that. Yes, change x,y,z to type double.
Keep going!
Last edited on
Hi,

Could I just mention that you should change the types to double - won't get very with vector math without them; need magnitude, unit vectors etc. Your problem is a physics one, so you need them there too.

Good Luck !!
Topic archived. No new replies allowed.
Pages: 12