Player doesn't touch a SOLID_TRIGGER entity
Hi, I have an entity (a sprite) and it is setup like this:
PHP Code:
PHP Code:
Any ideas why this is happening? Thank you! |
Re: Player doesn't touch a SOLID_TRIGGER entity
Long shot but try spawning it(dllfunc_spawn). Just a guess but might solve your problem.
|
Re: Player doesn't touch a SOLID_TRIGGER entity
Try this:
PHP Code:
|
Re: Player doesn't touch a SOLID_TRIGGER entity
I had been using sprite entity with solid_trigger as you need, but with fakemetas detection for touch:
Code:
public pfn_touch( ent1, id ) |
Re: Player doesn't touch a SOLID_TRIGGER entity
Just set not MOVETYPE_NONE.
|
Re: Player doesn't touch a SOLID_TRIGGER entity
Quote:
|
Re: Player doesn't touch a SOLID_TRIGGER entity
Detecing touch is the same with both engine and fakemeta so this is not the issue. However you should use engine in order to catch only the touches you need, not all of them.
|
| All times are GMT -4. The time now is 02:50. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.