Physics on the Web, Mobile, and Chromebooks

Physics and interactions can often be very demanding on some platforms, especially web-based or mobile/Chromebook. To optimize performance in scenes, a process called static batching is used.

Static batching essentially means that objects which either are not physics enabled or are not interactive, are combined into a single non-movable mesh at scene start. The result is that they can't have physics enabled on them while playing a scene.

Static Batching and Physics

You may encounter the impact of static batching when using the "Enable Physics" event. If that event is applied to a static batched object, then it will not actually have physics enabled.

To avoid that effect, and allow physics to be enabled on specific objects, you just need to add an empty event, such as:

On: Interaction Start
Then: Myself
Do Nothing

The event will cause the scene to count that object as "interactable" and thus exclude it from the static batching method. Physics then can be enabled on it while playing the scene.