DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR CSHARP
rotate along normal unity
transform.rotation.z = Quaternion.FromToRotation(Vector3.up, hit.normal).z;
PREVIOUS
NEXT
Tagged:
#rotate
#normal
#unity
ADD COMMENT
Topic
COMMENT
Name
2+3 =
Submit