View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0005121||Multi Theft Auto : San Andreas||Client||public||2009-12-02 13:04||2009-12-11 04:38|
|Target Version||1.0.3||Fixed in Version||1.0.3|
|Summary||0005121: When a colshape is created, getElementsWithinColShape() and isElementWithinColShape() doesnt find player if player does not move|
getElementsWithinColShape() doesn't find the player if the player is not moving.
|Steps To Reproduce|
You'll notice they'll return true if the player is moving and is in the colshape and false if they are in the colshape but still
|Tags||No tags attached.|
After testing, it would appear that when a colshape is created, elements already existing at that location do not collide with it until after they first move. Existing scripts might depend on this, so it needs to be fixed with caution. The behaviour ought to be documented though.
Fixed in 1.0.3-rc-4 with http://github.com/multitheftauto/multitheftauto/commit/598c6c31705f761b8f261b94e3c442d29a183f30