Simphy Custom forces demo
You can simulate almost any 2D motion of objects by applying custom force to body. Force may be the function of speed, position, mass of object.
You can simulate almost any 2D motion of objects by applying custom force to body. Force may be the function of speed, position, mass of object.
SimPhy supports setting up of various fields other than gravity.
The gravitational force on an object is calculated as
Force = mass x gravity x gravityFactor
Electrostatic field (in N/C)added to the world, apply force on object if and only if it has non zero charge and it is inside bounds of field.
The magnetic lorentz force on an object is calculated asForce = charge x speed x magnetic field and is perpendicular to the velocity
Buoyancy can be added to a region representing hypothetical liquid in that region. The density and viscosity of liquid can be changed while adding/editing field.
Simphy has a number of ‘joints’ that can be used to connect two bodies together. These joints can be used to simulate interaction between objects to form hinges, pistons, ropes, wheels, pulleys, vehicles, chains, etc. Learning to use joints effectively helps to create a more engaging and interesting scene.
Demo for various type of bodies that can be added to Simphy. You can also create complex bodies by adding multiple fixtures or using constructive area geometry.