How can I enable and disable a see-saw?
I'm making a physics puzzle and I only want the see-saw to work when I press the play button, before that it needs to stay locked to it's start position/rotation.
Couldn't you just set physics disabled on start of layout and on play button pressed set physics enabled?
physics test
LittleStain, disabling the physics also affects the joints, it's just like removing them.
RamPackWobble, I'll update my Construct and try your capx(runnign v.158 here)
all it does is sets physics on object to immovable and then on space pressed sets physics to movable...
Tried that also RamPackWobble, it just stayed immovable even after setting it back to movable.
That all I did but it appears to work - did you try the capx ?
slight change to the above capx - see-saw can now also be "re-frozen" to its position (made un-movable)
demo
Develop games in your browser. Powerful, performant & highly capable.
Just thinking, but you could also fake it completely, by only creating the seesaw when needed and replacing it with sprites without behaviours when not needed.
Thanks guys, I'm not sure what was wrong, I must have missed something. I rebuilt the whole level from 0 following RamPackWobble's demo and it worked.