Is it possible to make it where the size and collider size can be changed in game using code?
I need this to make my bean players crouch.
Hi @Gavin_Durbin,
Yes, itβs possible to change the size of a collider in code, example changing the height of a capsule or cylinder collider:
entity.collision.height = newColliderHeight;
2 Likes
Oops. Something like that would leave me with an annoying or unnoticed bug. Why are such things not being done behind the scenes?
1 Like
Actually itβs indeed being handled, I take it back and editing by post above. I may have observed that behavior in an older engine version or while doing something custom of my own:
2 Likes
Good to hear. Thank you for checking it out!
1 Like