Getting XY in front of an object.
#2

You're overwriting the TRY variable each time you pass it to the function so in actual fact you'll only get the Z rotation. In front of an object can seem like it's behind for you... if that makes sense.

EDIT:

Think of x as the object

i X

the front could be to the right of this page if you was standing in position i whereas in the following example:

X i

The front would seem like it was in fact behind the object in your perspective.

I would recommend using a rotation of just 0.0 unless there is an actual way of getting the front of a object(not that I know of).

Yes, do what Pottus said. That way it'll always be in front of you.
Reply


Messages In This Thread
Getting XY in front of an object. - by kadaradam - 21.01.2014, 17:20
Re: Getting XY in front of an object. - by thefatshizms - 21.01.2014, 17:29
Re: Getting XY in front of an object. - by Pottus - 21.01.2014, 17:38
Re: Getting XY in front of an object. - by kadaradam - 23.01.2014, 10:36

Forum Jump:


Users browsing this thread: 1 Guest(s)