Now there is support for infrared sensors, it is possible to configure:
Resolution (minimum possible difference between two measurements in meters)
Lower limit
Upper limit
ODR (Output data rate, frequency in which the measurement is collected, in Hz)
Gaussian Std (add gaussian noise to measurement)
The measurement will be done using the physics engine according to the desired ODR and it will be further processed according to the configured parameters.
Extra
Feat
New cmp::InfraredSensor
New cmp::Script::set method
Default atta namespaces are now accessible everywhere (added to precompiled header)
Sensor module UI window
Refactor
cmp::Camera renamed to cmp::CameraSensor
cmp::Transform now is more numerically stable when converting from/to world coordinates
Physics engine ray casting now also returns distance and normal
Fix
Box2D dynamic creation/deletion of RigidBody2D and Collider supported
Now there is support for infrared sensors, it is possible to configure:
The measurement will be done using the physics engine according to the desired ODR and it will be further processed according to the configured parameters.
Extra
cmp::InfraredSensor
cmp::Script::set
methodcmp::Camera
renamed tocmp::CameraSensor
cmp::Transform
now is more numerically stable when converting from/to world coordinatesRigidBody2D
andCollider
supportedRigidBody2D
type dynamic change support