Change movable attribute not working?

DreamLabDreamLab Member Posts: 2,127
So... I used the change attribute to change my actor between movable and not movable. I used the display text function, to even show that the actor registered that it wasn't movable, but when another actor collided with it, it still moved. Not sure how to fix this.... any ideas?

Comments

  • jamie_cjamie_c ImagineLabs.rocks Member, PRO Posts: 5,772
    I believe I've read in the forums that Moveable is not change-able at run time. Can anyone else confirm?
  • CatGoneCrazyCatGoneCrazy Member, PRO Posts: 90
    edited August 2013
    You could use a constrain... but that isn't very good for optimisation. Oh, you could set a boolean that says it's movable or not, and then not use collide at all - instead use 'change attribute' to affect either or both actors' movements? In Bulletrisk, the bullets don't ever collide with the walls. They just know that when they touch them, their X velocity is multiplied by -1. They appear to bounce as a result. Does that help?
  • tenrdrmertenrdrmer Member, Sous Chef, Senior Sous-Chef Posts: 9,934
    Moveable has never been changeable at run time. Ever...

    Even though the display test changes correctly the attribute cannot be shut off once the app is running.
Sign In or Register to comment.