Skip to content

How can I let capsule character look at vector3 position? #264

Answered by RossNordby
0x5143 asked this question in Q&A
Discussion options

You must be logged in to vote
  1. Matrix4x4 has some helper functions that you could use. That's a part of System.Numerics.
  2. I wouldn't recommend modifying character body orientation just for yaw, though. Given a capsule's rotational invariance, it doesn't do anything. Instead, you can just set the character's view direction and such, and then gameplay logic and graphics can use that information.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by 0x5143
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants