Jump to content
vblack

Quaternion LookAt

Recommended Posts

I'm looking for the equivalent of Quat:LookRotation(forward, up) (create a quaternion from a forward direction and up).

Maybe transform ? but there are no such thing (not able to specify the up direction).

 

Share this post


Link to post

Or if you just want an entity to point at another entity:
 

entity:Point(entity2)

 

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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.

×
×
  • Create New...