bug?

solitaireesolitairee Member Posts: 73
edited November -1 in Working with GS (Mac)
hey guys got prob, probably it is my fault...here it is:

I have no gravity, actor1 set movable 1
when actor1 overlaps or collides with actor2 change attribute self.movable = 0

after colliding actor1 is still pushed away by actor2 :( help pls

Comments

  • simo103simo103 Member, PRO Posts: 1,331
    yeah I had that issue also .. pretty sure you can't change an actors physics during the gameplay.

    I needed unmovable objects when I moved a bomb and placed it down .. but then moveable objects when it exploded. I created Actors with movable off and then when the bomb triggered a detonate attribute I spawned a copy actor that had movable set to on and destroyed the old one. Works for me.
  • jonmulcahyjonmulcahy Member, Sous Chef Posts: 10,408
    Yes, physics can't be changed in gameplay
  • solitaireesolitairee Member Posts: 73
    thx for help but Im not sure if it will work for me... my idea is to set rotation of trampoline object before play and then let the actors jump on it
Sign In or Register to comment.