ATM im teleporting the player a bit to simulate the movement in a direction...
would be much smoother and more natural if i could use AddForce from unityengine ...
with an WorldEntity like an dropped items that works .. didnt got it to the player tho..
Code:var Body = victim.transform.gameObject.GetComponent<Rigidbody>(); Body.useGravity = true; Body.AddForce(1f,2.6f,3.1f);
Apply AddForce on the Players Rigidbody?
Discussion in 'Rust Development' started by Crushed, Nov 3, 2017.