Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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
Develop games in your browser. Powerful, performant & highly capable.
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
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.