FarseerPhysics.Dynamics.Body.setTransform C# (CSharp) Метод

setTransform() публичный Метод

Set the position of the body's origin and rotation. This breaks any contacts and wakes the other bodies. Manipulating a body's transform may cause non-physical behavior.
public setTransform ( Vector2 &position, float rotation ) : void
position Vector2 The world position of the body's local origin.
rotation float The world rotation in radians.
Результат void
		public void setTransform( ref Vector2 position, float rotation )
		{
			setTransformIgnoreContacts( ref position, rotation );
			_world.contactManager.findNewContacts();
		}