Windows Fixed rotation not working after moving between rooms

K

kingjohnc19

Guest
When I move between rooms, for some reason in the other room fixed rotation is disabled. how do i fix this?
 
K

kingjohnc19

Guest
Not sure what you're referring to.
basically, phy_fixed_rotation doesn't seem to work if I move to another room. This means that the player and other objects rotate around instead of staying in the same rotation.
 
K

kingjohnc19

Guest
phy_fixed_rotation = true;

Perhaps.....
but that's already enabled in the object. In the original room it is working completely fine but the second i move rooms it disables it.
 

Relic

Member
Do you have persistence for this object? - If yes, I'm confused (but I'm not fluent in the Physics system so perhaps this is intended.

Try setting phy_fixed_rotation = true in a room start event anyway.
 
S

Sugor

Guest
Maybe you put it on the wrong event... you should put it on create
Code:
/// Inside Create Event
phy_fixed_rotation = true;
and make it persistent :D
 
K

kingjohnc19

Guest
Do you have persistence for this object? - If yes, I'm confused (but I'm not fluent in the Physics system so perhaps this is intended.

Try setting phy_fixed_rotation = true in a room start event anyway.
yes, I have persistence enabled.
 

Jezla

Member
It would be helpful if you'd share the creation code for the object in question, as well as the code that executes the room change.
 
Top