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

A Question about Breakables #28

Open
nebular opened this issue May 1, 2024 · 1 comment
Open

A Question about Breakables #28

nebular opened this issue May 1, 2024 · 1 comment

Comments

@nebular
Copy link

nebular commented May 1, 2024

Hi there!

Been playing a little trying to understand how breakables work and have some questions about the intended use case.

I saw that when breaking the object by slicing its geometry (which sits as a children[0] of the Basic3D container) - then discards the parent Basic3D object and sets the children as the parent.

This has a nuber of implications, as the children is not a Basic3D:

1 - object will be at 0,0,0 - ish (as the children pos & quat are the decal - and the real worldpos & quat were in the discarded quats
2 - collisions are then (broken/unstable) - what happens with the collision shape, volume, etc... ?
3 - several places where this body is indexed will rty to call stuff from the basic3d object causing crashes
4 - also - in the case of instances it will fail right away because there is no mesh as chilren of the (fake) instance Basic3d.

Soooo --- As the functionality looks really cool - i wonder how it should be used ? ?

thanks in advance !!!

@lo-th
Copy link
Owner

lo-th commented May 1, 2024

Hi thank's
break only work on basic geometry box sphere ...
break create new convex geometry but i have to solve some issu
_ sometime convex is too tiny and create bug (on three side)
_ i have to find best way to get real impulse force ( différente on each engine )

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

No branches or pull requests

2 participants