playMaker

Author Topic: How to use Quaternion.LookRotation[SLOVED]  (Read 989 times)

playmakertester

  • Full Member
  • ***
  • Posts: 211
How to use Quaternion.LookRotation[SLOVED]
« on: November 10, 2020, 04:33:08 AM »
Hello.
I'm looking into Quaternion.LookRotation, but I have no idea how to use it.

What should I do in the following to make the Character face the direction of travel?

  • Direction
  • UP Vector
  • Result

Thank you for your support.
« Last Edit: November 12, 2020, 09:02:53 AM by playmakertester »

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to use Quaternion.LookRotation[SLOVED]
« Reply #1 on: November 12, 2020, 09:03:06 AM »
Completed.

Thanks!

playmakertester

  • Full Member
  • ***
  • Posts: 211
Re: How to use Quaternion.LookRotation[SLOVED]
« Reply #2 on: December 01, 2020, 09:08:10 AM »
Quaternion Look Rotation is an action that allows you to output a Quaternion that points the target object at the desired Vector3 by entering the desired Vector3.

After entering the Vector3 and getting the Quaternion, it works well in combination with Set Rotation.