IsPointWithinColshape
Checks whether a point is into the given colshape.
- colShape: parameter input should be in ColShape type
- point: parameter input should be in Vector3 type
{{#tag:syntaxhighlight| [Command("incolshape")] public void InColshapeCommand(Client player) {
ColShape cylinder = ``ColShape.CreateCylinderColShape(new Vector3(), 10.0f, 5.0f);
bool pointInside = ``ColShape.IsPointWithinColshape(cylinder, player.Position);
} |lang=csharp}} }}