-
For example, I've got Kinematic Character Controller + Rigidbody + Capsule Collider + Rapier 2d setup.
For the set_height I've written a trait extensions that alters segments on respective axis. So this doesn't work for some reason. Most likely its overwritten internally during simulation. What's the proper way to do this? Use commands & re-insert the collider as a whole? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
For the future readers: This works:
|
Beta Was this translation helpful? Give feedback.
For the future readers:
Digged a bunch of Discord questions and it seems like setting collider as a component is the way to do this.
Views are most-likely used for the future editor / inspector and reflecting values;
This works: