Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
C#
Unity C# make object face away
Yury Sitnikov
Programming language:
C#
2021-05-11 14:28:52
0
Q:
Unity C# make object face away
YellowApple
Code:
C#
2021-04-04 00:31:22
transform.LookAt(2 * transform.position - new Vector3(Target.position))
0
Tags
unity
object
make
Related
how to change the position of a gameobject in c# unity
unity onclick object
unity instantiate an object
unity how to move an object
how to make movement in unity in c#
make an object disappear from a c# script unity
how to make an object move in unity
how to get the transform of an object in unity
c# unity animation trigger
how to acivate a game object unity
moving an object in unity
how to move towards an object unity
stagnant object in unity
how to rotate object unity
unity rotate object c#
unity how to move an object to another object
New to Communities?
Join the community