The block enables the physics engine for the selected objects with the defined precision level.


The block enables the physics engine for the selected objects with the defined precision level.


The example demonstrates how to make a sprite be fixed to a point but can rotate. The wand is hanging like a pendulum.
The center of the wand in the costume is the point of rotation.

The following code creates the simulation of the pendulum.

![]()
In this example, you understand the effect of the density, roughness, and bounce properties of the sprites. The ball falls from the top randomly, and the bell is fixed but can rotate.

The bell center is changed to make it swing from the top.

This script creates clones of the ball every 0.5 seconds.

This script assigns the properties of the clone.

We will change the density of the bell and the ball in the block – set sprite density () roughness () bounce (). This will result in different simulations.




The example demonstrates the ball falling in gravity in a box. Using the pen extension we are also tracking the trajectory of the ball.


Copyright 2025 – Agilo Research Pvt. Ltd. All rights reserved – Terms & Condition | Privacy Policy