Stuck in wall detection
Hi,
im looking for function that will safely detect when player is stucked in wall, floor or any solid object. I was considering obtaining player's position, pushing a client cmd +forward, and again obtaining position and compare them. But it always worth to ask here. Can u please help me? Thnks in advance. |
This should work:
Code:
Adapted from Superhero Casper |
Thank you. I'll try. :)
|
| All times are GMT -4. The time now is 16:00. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.