FyroxEngine / Fyrox

3D and 2D game engine written in Rust
https://fyrox.rs
MIT License
7.64k stars 343 forks source link

Physical colliders does not take global scaling into account #365

Open DuckEater54 opened 1 year ago

DuckEater54 commented 1 year ago

So I finally got back to using the engine, this is with the most recent fyrox-template official crates.io release. I have found that when creating a

Rigid Body
|----Cube
|----Collider

and then resizing the RB, the Cube mesh changes in size appearance, but the Collider doesn't. Any idea why? Has this been fixed? Am I meant to resize it myself?

Also it doesn't feel like the the < does anything? Isn't it meant to make the current node alike to the parent in the way that the row of information containing < is the same.

mrDIMAS commented 1 year ago

This is known issue, colliders does not take their global scaling into account. It should be relatively easy to fix though, meanwhile you should set size of your collider manually.