Simphy 0.8 (Beta Version) released
After a big time gap Simphy is updated version 0.8 with many new improvements and several bug fixes and improvements.
Biggest Update ever done in Simphy!
This update mainly features following enhancements ..
After a big time gap Simphy is updated version 0.8 with many new improvements and several bug fixes and improvements.
Biggest Update ever done in Simphy!
This update mainly features following enhancements ..
Simphy 2.8 version is mainly focused on updating graphing module and fixing some critical bugs especially in touch screen devices.
By default, all the shapes are able to collide with all the other shapes, but it’s also possible to set up ‘collision filters’ to provide finer control over which fixtures can collide with each other. Collision filtering is implemented by setting some flags in the fixture definition when we create the fixture. These flags are:
Category: The category(s) to which the object belongs
Collides With: The category(s) with which object can collide
Lets talk about X and Y objects whose categy is set so non None . The collision between them will occur only when following 2 conditions are met
To illustrate collision filtering, let’s take an example: we have three kinds of objects in a simple platformer game: players, monsters, coins, fireballs and ground.
We want the following rules: players should not collide with each others, neither do monsters, but players should collide with monsters (and vice-versa). Of course, players and monsters have to collide with the platform/ground.
ObJECT | CATEGORY | COLLIDES WITH |
---|---|---|
Ground | None (default) | All(default) |
Mario | A | All-A |
Monster | B | All-B |
Coin | C | A |
Fire | D | All-ACD |
Here
Now, you git and idea how to perform selective collision. Download the corresponding simulation below to play in Simphy 2.5+.
Circuit simulator in SimPHY can create or simulate any circuit diagram with high precision. By using its drag and drop tools, we can create and see how the real circuit will work. Click on the ‘circuit icon’ in Visualisation toolbar on simphy to enable it as shown below. You will see a tab with multiple icons like wires, resistors, batteries, diodes, bulb, instruments like ammeter, potentiometer, logic gates etc that can be used to create Circuit Simulations.
SimPhy supports setting up of various fields. Mentioned below are some of them-
Gravity: The default gravity is 9.8 m/s2 pointing in the negative y direction. You can set the Gravity Scale or Gravity factor (with default value 1) of individual objects to experience different gravity and behave differently in the Property Panel.
Electrostatic field: Electrostatic field (in N/C) added to the world, applies force on an object if and only if it has non zero charge and it is inside the bounds of the field.
The electrostatic force on an object is calculated as Force = charge x electrostatic field
Magnetic field: Magnetic field (in Wb/m2 perpendicular to the plane) added to the world, apply force on an object if and only if it has non zero charge and it is moving.
The magnetic lorentz force on an object is calculated as Force = charge x speed x magnetic field
and is perpendicular to the velocity
Buoyancy and drag: 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.
The buoyancy force on an object is calculated as
Force = [area submerged] X [density of liquid] X [gravity] -[viscosity]*[speed]
Additional correction for lift is also taken into account based on the geometry of the object.
Air Drag: Air drag can be simulated using Buoyancy field with small values of density (e.g. 0.001) and small value of viscosity (e.g 0.001).
You can easily add fields without any coding as shown in the GIF or simply by right clicking in the working area and then select world settings then choose desired Field.
Note: