[Resolved] prevent physics rotation

Is there any to prevent all rotation on a rectangular dynamic physics object ?

I’ve tried angularDamping = 5000 which seems to help but only if I use radius

also - how do you get usable forum search results here?
For example, searching on “Drag object and PREVENT rotation” provides a direct hit in the second listing but the link takes me to a page that doesn’t contain that entry.

[import]uid: 186251 topic_id: 33161 reply_id: 333161[/import]

Setting the object property “isFixedRotation” to true should fix it.

For example, if your object is called “myObject,” you would just do:

[lua]myObject.isFixedRotation = true[/lua]

Hope that helps! [import]uid: 172008 topic_id: 33161 reply_id: 131674[/import]

Thanks, that works. [import]uid: 186251 topic_id: 33161 reply_id: 131679[/import]

Setting the object property “isFixedRotation” to true should fix it.

For example, if your object is called “myObject,” you would just do:

[lua]myObject.isFixedRotation = true[/lua]

Hope that helps! [import]uid: 172008 topic_id: 33161 reply_id: 131674[/import]

Thanks, that works. [import]uid: 186251 topic_id: 33161 reply_id: 131679[/import]