Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Physics support integration! #702

Closed
4 tasks done
Neosoulink opened this issue May 30, 2024 · 3 comments
Closed
4 tasks done

Physics support integration! #702

Neosoulink opened this issue May 30, 2024 · 3 comments

Comments

@Neosoulink
Copy link

Neosoulink commented May 30, 2024

Description

Tres is one of my favorite challenger for 3D vuejs framework. Unfortunately, so far it does not support a physics engine yet (or I'm not aware of it).

It will be awesome to have a physics component integrated in Tres!a

Suggested solution

The proposition will be simple, a Rapier physics engine!
Why Rapier?
Rapier is actually the current physic engine well maintained compared to connon or ammon.js

It will be awesome to have something like:

<Physics>
   //...
</Phisics>

Everything inside the Physics tag will be included in the physics world.

This is just the beginning example, we can add more tags like <RigidBody/>, <Collider />, etc... to control the added objects to the physics world.

Alternative

No response

Additional context

No response

Validations

@Neosoulink
Copy link
Author

Or to create a separate module/repo for that 🤔

@Neosoulink Neosoulink changed the title Physic support integration! Physics support integration! May 30, 2024
@andretchen0
Copy link
Contributor

andretchen0 commented May 30, 2024

@Neosoulink , we have a proof-of-concept with cannon. Feel free to check it out (though please don't file issues against it as it is only meant as an investigation).

Among the other things on our plates right now, we're putting the pieces in place to support plugins.

I'm going to close here as this is under active discussion by the team. But thanks for your interest!

@Neosoulink
Copy link
Author

@andretchen0, sure thanks for the clarifications,
It looks like I missed this one.

Yes, this issue can be closed since there's already physics support on preparation ✨

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

2 participants