Physics lite

I'm very happy to be the first to create a physics engine for bedrock hope this helps a lot

PhysicsLite
A physics foundation for Minecraft Bedrock add-on creators (Script API). Use it as a starting point to build physics-based mechanics without starting from scratch.
Features
Custom gravity (moon, heavy, floating)
Drag, friction and speed limit
Bouncing (restitution) on collision
Springs and ropes (between entities or to a fixed point)
Force fields: wind and radial
Impulse explosions (no block damage)
Collision events for sounds and particles
Included demo
Dropped items bounce
Use a stick: impulse explosion
Use a bone: wind for 5 seconds
How to use it in your own creation
Open scripts/main.js, delete the "USAGE EXAMPLE" section and use physics.addBody(...), physics.addSpring(...), etc.
Notes
Block collision is still handled by the game.
Players are not affected (an applyImpulse limitation).
Requires @minecraft/server 2.0.0 or higher (stable).

Physics lite Team

profile avatar
  • 3
    Projects
  • 653
    Downloads

A beginner addon creator

More from Addons_creator