![]() ![]() Instead, you could just do :GetTouchingParts() on the part you created and give the player a red card every time a part that isn’t a descendant of a player is found in the array that the method returns. Raycasting, I feel, would be really hard to get working right. No additional objects, no extra rotation calculations, and just an extra line or two of code. ![]() To be nice on the physics engine you should probably just anchor the part and disable collisions on it.Įvery frame, before you do anything else, position the part to the character’s root’s position.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |