Quantcast
Channel: Answers by "ProjectEW"
Browsing all 4 articles
Browse latest View live

Answer by ProjectEW

You add an Empty (Shift-A -> Empty). It will appear as a Transform in Unity.

View Article



Answer by ProjectEW

If you want the force to remain constant regardless of distance, use rigidbody.AddForce((otherObject.transform.position - transform.position).normalized * forceAmount * Time.smoothDeltaTime)

View Article

Answer by ProjectEW

You add an Empty (Shift-A -> Empty). It will appear as a Transform in Unity.

View Article

Answer by ProjectEW

If you want the force to remain constant regardless of distance, use rigidbody.AddForce((otherObject.transform.position - transform.position).normalized * forceAmount * Time.smoothDeltaTime)

View Article
Browsing all 4 articles
Browse latest View live




Latest Images