Skip to main content

Report this content

We want the Dreams coMmunity to be a safe, diverse and tolerant place for everyone, no matter their age, gender, race, sexual orientation or otherwise. If you believe this content to contradict these principles, you can file a report for our coMmunity teams to investigate.

Note that misuse of the reporting tool will not be tolerated.

Item being reported:

A forum post by fawad42

I have a 2-d object that can move in the x and y axis only, but the problem is that when it catches on a corner of a wall, the object can rotate on its axis. I have used a gyroscope to maintain the orientation of the object after it has collided with a corner but I feel it can make the gameplay annoying.

Is there a way for me to lock an orientation for an object to prevent it from rotating at all? (I need the object to be collidable)

Oh dear! Your browser is either unsupported or there has been a problem loading the page.