View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003828 | The Dark Mod | Coding | public | 22.08.2014 20:29 | 23.08.2014 10:20 |
Reporter | tels | Assigned To | |||
Priority | normal | Severity | normal | Reproducibility | N/A |
Status | new | Resolution | open | ||
Product Version | TDM 2.02 | ||||
Summary | 0003828: trigger_touch hidden clipmodel breaks assumptions | ||||
Description | trigger_touch entities store their clipmodel at spawn in a hidden variable, and then replace it with NULL. This "hidden storage" breaks a lot of assumptions about entities. For instance, if you call getMins() or getMaxs(), you end up with "0 0 0" for both. Likewise, you cannot call getOrigion() on a trigger_touch entity to get the origin, as this returns the same for all trigger entities. In addition, it seems impossible to move trigger_touch entities during runtime, as setOrigin() etc. would fail due to the physics object being empty, respectable the hidden clipModel never getting any updates. | ||||
Tags | No tags attached. | ||||
This bug means among other things that binding a trigger_touch to an entity will not work - if the bindmaster moves, the trigger simply stays where it was. (Or at least, even if the trigger moved, you could not query it's new position with getOrigin(); as that does not return the true origin, either) |
|