2019-12-07 07:58 CET

View Issue Details Jump to Notes ] Related Changesets ]
IDProjectCategoryView StatusLast Update
0005057Spring engineGeneralpublic2016-02-05 18:46
Assigned ToKloot 
Product Version100.0+git 
Target Version101.0Fixed in Version 
Summary0005057: Unit orientation 90 degrees off
DescriptionUnit model is with its face on the ground in latest dev while in 100.0 its orientation is correct
Steps To ReproduceStart a game with zk:test (or latest stable, but it may have errors in 101) and pick the strike trainer.
If you missed it, just /give dyntrainer_strike_base
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files




Anarchid (reporter)

Last edited: 2016-02-05 17:09

View 3 revisions

The units armpb and reef seem to behave themselves right, which is because they have been voodoued to support both 91.0 and 95.0 originally.

This worked like this:
1) 91.0 completely ignored node rotations on assimp models
2) 91.0 did not attempt to upright z-up collada models by rotating them
3) 95.0 respected node rotations
4) 95.0 uprighted the models so that their up-vector matched the game's up-vector

Thus the models were made with their geometry "baked" with "on the floor" rotation in blender, but having the root node rotated 90 degrees to compensate:
1) 91.0 failed to notice the node rotation and kept thinking y=up, resulting in upright model
2) 95.0 noticed the node rotation, which made its uprighting z-up not result in face-dirt.


Anonymous (viewer)

Fix 151d7a20565a541fdf4c30b4c501633959aa1626 committed to develop branch: fix 0005057 (broken in d92b3196; IsIdentity returns 0 when true), repo: spring changeset id: 6542

+Related Changesets

-Issue History
Date Modified Username Field Change
2016-02-05 16:34 hokomoko New Issue
2016-02-05 16:46 Anarchid Note Added: 0015631
2016-02-05 16:47 Anarchid Note Edited: 0015631 View Revisions
2016-02-05 17:09 Anarchid Note Edited: 0015631 View Revisions
2016-02-05 18:11 Kloot Assigned To => Kloot
2016-02-05 18:11 Kloot Status new => assigned
2016-02-05 18:46 Changeset attached => spring develop 151d7a20
2016-02-05 18:46 Anonymous Note Added: 0015632
2016-02-05 18:46 Anonymous Status assigned => resolved
2016-02-05 18:46 Anonymous Resolution open => fixed
+Issue History