Releases: jaipack17/Nature2D
Releases · jaipack17/Nature2D
Engine:SetSimulationSpeed() & Documentation
Engine:SetSimulationSpeed() & Documentation
- Updated API-References for RigidBodies, Constraints, Points and Engine in response to this and previous updates.
- Documented source code with comments.
- Better error handling and error messages
- Fixed Engine:SetPhysicalProperty() bug where updating a physical property before creating a rigidbody did not change the properties for the rigidbody.
- Added new Methods to Engine
Engine:SetSimulationSpeed()
Custom Point Support, Configuration Methods and More!
Custom Point Support, Configuration Methods and More!
- Installation through Wally! Nature2D can now be installed using Wally, the package manager for Roblox.
- Bug Fixes
- Linked Issue: #1
- CreateCanvas() now has an optional 'frame' parameter to help render custom points and constraints.
- Refactored certain segments of code for better readability.
- Added Custom Point support to Engine
Engine:CreatePoint()
Engine:GetPoints()
- Added new Configuration methods to Constraints
Constraint:Stroke()
- Added new Configuration methods to Points
Point:SetRadius()
Point:Stroke()
Point:Snap()
Improvements & New Methods
Improvements & New Methods
Slowly improving custom Constraints support.
- Improved architecture for anchored RigidBodies.
- Constraints now have their own unique IDs like RigidBodies.
- Added new Methods to Constraints
Constraint:GetLength()
Constraint:Destroy()
- Added new Methods to Engine
Engine:GetConstraints()
Engine:GetConstraintById()
- Added new Methods to RigidBodies
RigidBody:SetFriction()
RigidBody:SetGravity()