-
Notifications
You must be signed in to change notification settings - Fork 3.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mob collisions #34580
base: master
Are you sure you want to change the base?
Mob collisions #34580
Conversation
can you make a cvar? |
What about the backlog, tikreit? Won't that cause problems? |
Finally we can change riot shields after this is implemented. |
collisionLayer: (int) CollisionGroup.MidImpassable, | ||
collisionMask: (int) CollisionGroup.MidImpassable); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should layer/mask be configurable on the component, so flying mobs could ignore ground mobs but still collide with other flying mobs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ended up using flammable as it's supposed to be a generic non-hard event subscriber though still not entirely happy with it.
If I ever get around to my planned collision layer refactor I might revisit it or if we have mobs that don't have flammable that also need pushing.
Is it possible to walk through people while being pushed out like in FPS games? |
Ready for review |
Title.
Currently POC stage but it should work with prediction.
2025-01-23.00-56-23.mp4
A later video though I polished it a bit from here and am happy.
2025-01-26.17-04-48.mp4
Requires space-wizards/RobustToolbox#5560
Changelog