[Rapier] Add mesh support for Sprite


Add mesh trimesh collider support for sprite. Note that trimesh is best for stationary objects like terrain (since it is made of planes with no internal or thickness).

Also, I think I need to add some parameters to tune physics stepping precision for trimesh, with higher gravity or speed, bodies may pass through the trimesh.

Files

mikal_cannon_3d_physics-2.11.0.c3addon 1.4 MB
Jun 02, 2024
RapierSpriteMeshPhysics.c3p 6.6 MB
Jun 02, 2024

Get Construct 3 3D Physics

Buy Now
On Sale!
50% Off
$10.00 $5.00 USD or more

Comments

Log in with itch.io to leave a comment.

Nice!!! Do you recommend we use this now instead of heightmaps? Like for slopes? And I guess tiled backgrounds wont work. I'll start using this for a summer project.

Yes, in general, because it is part of the change to use the Rapier physics engine, instead of cannon. It also has more features, better perf and stability ( version 2.x.x of the addon.)

Also, can you look into these issues?
https://docs.google.com/document/d/1MZsU7v4J9_0ZEvgxcwRUPJMNuG6l-bQe/

(1 edit)

thanks will take a look, probably tomorrow 

One suggestion from me, why not try working on making a URL for documentation for the plugin and keep updating it with the plugin update that way new comer can also get handy of the plugin as well as regular followers knows about what different ACE does.

I will hopefully make the github public and then docs can go there, with PRs from community to update too.