Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
trs:meshes_models [2020/05/24 21:53]
zdimension [Static Meshes]
trs:meshes_models [2020/05/24 21:54] (current)
zdimension [Static Meshes]
Line 119: Line 119:
 ''%%VisibilityBox%%'' and ''%%CollisionBox%%'' boundaries is always stay axis aligned even after applying tr_room_staticmesh::Rotation (always have 90 degrees step). Additionally, the test whether to rotate the box or not relies on the mesh’s rotation being an exact multiple of 0x4000 (aka 90 degrees). If this is not the case, the box is not rotated, which results in wrong collision checks. ''%%VisibilityBox%%'' and ''%%CollisionBox%%'' boundaries is always stay axis aligned even after applying tr_room_staticmesh::Rotation (always have 90 degrees step). Additionally, the test whether to rotate the box or not relies on the mesh’s rotation being an exact multiple of 0x4000 (aka 90 degrees). If this is not the case, the box is not rotated, which results in wrong collision checks.
  
-{{:icons:tr1.png?nolink|TR1 only}}{{:icons:tr2.png?nolink|TR2 only}} ''%%Flags%%'':+{{:icons:tr1.png?nolink|TR1 only}}{{:icons:tr2.png?nolink|TR2 only}}{{:icons:tr3.png?nolink|TR3 only}} ''%%Flags%%'':
   * **Bit 0** (''0x0001''): no collision   * **Bit 0** (''0x0001''): no collision
   * **Bit 1** (''0x0002''): is visible   * **Bit 1** (''0x0002''): is visible
trs/meshes_models.txt · Last modified: 2020/05/24 21:54 by zdimension
Back to top
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0