2025-06-14 04:47 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001930Spring engineGeneralpublic2010-05-18 19:26
ReporterjK 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionfixed 
Product Version 
Target VersionFixed in Version0.81.0.0+git 
Summary0001930: CollisionVolumes are broken with non-zero midPos
DescriptionSomehow the matrices are mixed up between different collision tests.
Additional Informationthe units collision params are:
  collisionVolumeOffsets = [[64 5 0]],
  collisionVolumeScales = [[60 60 260]],
  collisionVolumeTest = 1,
  collisionVolumeType = [[CylZ]],

Also the correct ColVol should be _around_ the floating harbour, so both ColVols are incorrect.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0004925

Kloot (developer)

Last edited: 2010-05-18 19:26

Fixed again. Things to remember are:

* modelCenterOffset is in unit-space, because unit->relMidPos=model->relMidPos gets multiplied by the unit's direction vectors (unit->{right, up, front}dir) ==> a center-offset (ALONG THE X-AXIS!) of +100 elmos is -100 elmos in world-space for a unit facing south
* collisionVolumeOffsets are in world-space and defined with respect to the mid-position

+Notes

-Issue History
Date Modified Username Field Change
2010-05-18 09:29 jK New Issue
2010-05-18 09:29 jK File Added: brokenColVol.png
2010-05-18 15:04 Kloot Status new => confirmed
2010-05-18 19:21 Kloot Note Added: 0004925
2010-05-18 19:21 Kloot Status confirmed => resolved
2010-05-18 19:21 Kloot Fixed in Version => 0.81.0.0+git
2010-05-18 19:21 Kloot Resolution open => fixed
2010-05-18 19:21 Kloot Assigned To => Kloot
2010-05-18 19:22 Kloot Status resolved => assigned
2010-05-18 19:22 Kloot Resolution fixed => reopened
2010-05-18 19:23 Kloot Note Edited: 0004925
2010-05-18 19:23 Kloot Status assigned => resolved
2010-05-18 19:23 Kloot Resolution reopened => fixed
2010-05-18 19:25 Kloot Status resolved => assigned
2010-05-18 19:25 Kloot Resolution fixed => reopened
2010-05-18 19:26 Kloot Note Edited: 0004925
2010-05-18 19:26 Kloot Status assigned => resolved
2010-05-18 19:26 Kloot Resolution reopened => fixed
+Issue History