feat: Integrate @react-three/rapier for physics simulation and add conveyor collider functionality
- Added @react-three/rapier to package.json for physics support. - Refactored AssetBoundingBox to utilize RigidBody for collision detection. - Implemented ConveyorCollider to manage object movement on conveyor belts. - Enhanced Model component to include rigid body references and bounding box calculations. - Updated Ground component to use RigidBody for ground physics. - Introduced Colliders component to manage material instances with physics interactions. - Created SecondaryCamera for enhanced camera management and editing capabilities. - Added secondary canvas for rendering secondary camera views. - Updated selection controls to utilize bounding boxes for asset selection.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
"@react-three/csg": "^3.2.0",
|
||||
"@react-three/drei": "^9.113.0",
|
||||
"@react-three/fiber": "^8.17.7",
|
||||
"@react-three/rapier": "^1.5.0",
|
||||
"@react-three/postprocessing": "^2.16.3",
|
||||
"@recast-navigation/core": "^0.39.0",
|
||||
"@recast-navigation/three": "^0.39.0",
|
||||
|
||||
Reference in New Issue
Block a user