Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

Set orientation of moving object towards it movement direction

if (movementx > 0)
		{
            sr.flipX = false;
        }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Set #orientation #moving #object #movement #direction
ADD COMMENT
Topic
Name
8+1 =