Search Issue Tracker

By Design

Votes

0

Found in

4.3.0b6

Issue ID

572251

Regression

No

Rigid2D.Velocity and transform.position are v3 & v2

Physics2D

-

Currently transform.position and rigid2d.velocity are v3 and v2 respectively forcing for some unsightly code such as this:

Gizmos.DrawLine(transform.position, rigidbody2D.velocity - new Vector2( transform.position.x, transform.position.y));

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.