How to enforce CollisionGroups and/or constrain velocity on the Y axis

My troops have a collision group set so they can’t collide with the player. How would I make it so the troops don’t fling themselves when they target an object?

I have linked an example here if you need to see for yourself.

make collision group between them and the target too

1 Like

CanCollide is off with all targets. Look at the example, the troops velocity spikes on the Y axis when they go in contact with the player… (That usually happens with collision groups, it’s a bug)

Btw sorry for the late reply.

then probably not all player parts are added to the CollisionGroup make sure u wait a bit before u set their collision group

1 Like

I have checked, and I can confirm it is an issue with collision groups.