Jump to content

PointAt()


Rekindled Phoenix
 Share

Recommended Posts

This doesn't seem to work appropriately. Amusingly it says this in the comment field for the function.

TestCube.PointAt(Target, 1);

 

The command worked in the previous headers, so I'm guessing it's a datatype definition that is off. Maybe change the Axis parameter to a float instead of an int?

 

 

On a side note, the function freaks out when the object is greater than a certain distance away... how do I fix this?

 

 

EDIT: Cycled through the axis values and decided just to invert the angle to get the partially results

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...