U3D two forward

vector3.forward is (0,0,1) value;

transform.forward itself in the direction of the z-axis of the world coordinates (not necessarily equal to (0,0,1))

transform.translate () is filled in here with respect to its moving direction. The moving direction of their coordinates, be careful not to fill in the movement direction in world coordinates;

 

Guess you like

Origin www.cnblogs.com/123ying/p/11025041.html