Open affanshahid opened 1 year ago
Could do this with a Compound
collider with a single collider:
Collider::compound(vec![(Vec3::new(1.0, -8.0, 0.0), 0.0, Collider::cuboid(6.5, 10.5))])
You can also consider doing it the other way around: offset the sprite through its hierarchy.
You can also consider doing it the other way around: offset the sprite through its hierarchy.
Does that work with the KinematicCharacterController now?
I might have misunderstood the issue, but rather than having:
I was suggesting
I think that would work, but I'm all ears if it's not enough!
For me the real issue is probably that it doesn't work without a collider 🤔.
I have a body with the
KinematicCharacterController
component, I want to offset the collider on this body from the centre (since the sprite isn't centred). I tried the following but the character controller doesn't work without a collider attached directly to it: