public void UpdateVisuals() { if (!Forward.EqualsZero()) { cachedTransform.rotation = Quaternion.LookRotation(Forward.ToVector3()); } cachedTransform.position = this.Position.ToVector3(); }
public void UpdateVisuals() { if (!Forward.EqualsZero()) { cachedTransform.rotation = Quaternion.LookRotation(Forward.ToVector3()); } cachedTransform.position = this.Position.ToVector3(); }