Answer by 2d4Games
Your player will start with that rotation because your variable ytargetRotation is equal to 10. Set xtargetRotation and ytargetRotation equal to the number you want them to start at.
View ArticleAnswer by 2d4Games
rigidbody.addForce and addRelativeForce are acceleration modifiers, that slowly increase speed. What you want to do is set rigidbody.velocity to a value, as that will produce instant movement and it...
View ArticleAnswer by 2d4Games
This isn't really a solution, more of a work-around. I was able to rework the script to set the velocity directly, rather than add a force to the rigidbody. This new method does not have the issue....
View ArticleAnswer by 2d4Games
So i've discovered the issue. The problem was a Joint2D variable I was using "collideConnected", has been deprecated in the latest version of unity, which is what the webplayer is running. My unity...
View Article