-
-
Notifications
You must be signed in to change notification settings - Fork 501
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Creating a custom weapon with createWeapon doesn't let you to disable its collisions with setElementCollisionsEnabled or setElementCollidableWith.
To reproduce
crun w = createWeapon("uzi", getElementPosition(localPlayer))
crun setElementCollisionsEnabled(w, false)
crun setElementCollidableWith(w, localPlayer, false)
both collisions functions return false since they don't support weapon elements
crun setWeaponFlags(w, "disable_model", true)
doesn't remove collisions but only the model
Expected behaviour
At least one of the 3 functions above should be useful to disable other elements from colliding with custom made weapons
Version
Einheit-101 and lopezloo
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working