-
-
Notifications
You must be signed in to change notification settings - Fork 466
Add SetCollisionGroup to API #1461
Copy link
Copy link
Closed
Labels
Feature Requestuser requested featureuser requested featureGood First IssueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.Help Wantedup for grabsup for grabs
Description
Hello everyone, some people know and have encountered the fact that when installing a collision, an object can fall under the map or have some other side effects.
Problematic Code (or Steps to Reproduce)
SetEntProp(client, Prop_Data, "m_CollisionGroup", flags);
If we use a function that directly causes a collision to be set then this problem will not occur
void CBaseEntity::SetCollisionGroup( int collisionGroup )
I suggest adding this feature to the main sourcemod API.
I think this is because another CollisionRulesChanged() function is not called; when we expose just via SetEntProp.
I think a direct function call will be more correct than we use now " crutches"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Feature Requestuser requested featureuser requested featureGood First IssueIssues that are suitable for first-time contributors.Issues that are suitable for first-time contributors.Help Wantedup for grabsup for grabs