View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002654 | Spring engine | Lua | public | 2011-09-16 20:34 | 2011-09-19 17:33 | ||||
Reporter | FLOZi | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | feature | Reproducibility | N/A | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.82.7+git | ||||||||
Target Version | Fixed in Version | 0.82.7+git | |||||||
Summary | 0002654: (feature request) Additional Parameters to FeatureDestroyed Callin | ||||||||
Description | It'd be great if FeatureDestroyed had some additional parameters; bool crushed - was the feature crushed float x, z - direction from which the crushing took place, like the arguments supplied to unitscript HitByWeapon | ||||||||
Additional Information | Such an addition would let us make crushing interactions much more realistic, knorke did this; http://h8.abload.de/img/forestfallenovertskx.gif but as you can see the falling direction is actually random. Default trees already do this (though it seems they fall in the wrong direction if the unit is travelling in reverse!) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
Kloot (developer) 2011-09-19 17:32 Last edited: 2011-09-19 17:33 |
https://github.com/spring/spring/commit/4fceba7a7e8af47a85cb111a239a23c7d48426ca plus GetFeaturePosition(collideeID) and GetUnitPosition(colliderID) (or GetUnitVectors(colliderID)) should be all you need ;) |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-09-16 20:34 | FLOZi | New Issue | |
2011-09-19 17:32 | Kloot | Note Added: 0007384 | |
2011-09-19 17:32 | Kloot | Status | new => resolved |
2011-09-19 17:32 | Kloot | Fixed in Version | => 0.82.7+git |
2011-09-19 17:32 | Kloot | Resolution | open => fixed |
2011-09-19 17:32 | Kloot | Assigned To | => Kloot |
2011-09-19 17:33 | Kloot | Status | resolved => feedback |
2011-09-19 17:33 | Kloot | Resolution | fixed => reopened |
2011-09-19 17:33 | Kloot | Note Edited: 0007384 | |
2011-09-19 17:33 | Kloot | Status | feedback => resolved |
2011-09-19 17:33 | Kloot | Resolution | reopened => fixed |