Resolved: Toggle the 'Body Type' of a Physics body

It’s my first post here and I just want to know a simple thing. Sorry if it is a really stupid question.
So here is what I have:

  • A few circles, each of them has a unique ID. Used as balls.
  • A few pictures, each of them has a unique ID. Used as switches.

Here is what I need:

  • Every switch controls a corresponding ball, after tap on a switch, the ball is set to “Dynamic” and falls down.
  • On second tap, the ball goes back to the top and set back to no physics.

A lot of thanks to everyone who reads and helps. Sorry again if it is a really stupid question.

Using timelines you can change the bodyType of an element, example below:

togglePhysics.hype.zip (15.3 KB)

1 Like

I’ve never noticed I can change that much in timeline, and thanks for your help. Seems that it is a stupid question after all.
Thanks again.

No such thing as a stupid question, even i learn new things on Hype on a daily basis :smile:

2 Likes