2025-08-29 05:40 CEST

spring: develop abe436c3 Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
tvo tvo develop 2008-11-04 17:31:01 develop 3e462809
Changeset * Added new collision volume types: sphere, footprint.
  - sphere can not be selected in unitdef but replaces the 'spherical' boolean
    (ie. an ellipsoid with all axes equal length is automatically converted to a sphere)
  - footprint is intersection of sphere and vertical 'footprint prism' of unit/feature.
    (For this volume, the scale/offset only applies to the sphere,
    the footprint can obviously not be scaled or translated.)

* Units/features with no collision volume defined get 'footprint' type by default now,
  this restores the (more realistic) 0.76b1 behaviour as default.

* Refactored CollisionVolume a bit, biggest changes were adding CollisionVolume.cpp and
  removing implementation from the header file, and making CollisionVolume members
  private, except for CCollisionHandler.



git-svn-id: https://spring.clan-sy.com/svn/spring/trunk@6977 37977431-3df6-0310-b722-df95706aa16b
mod - rts/Game/GameHelper.cpp Diff ] File ]
mod - rts/Rendering/UnitModels/UnitDrawer.cpp Diff ] File ]
mod - rts/Sim/Misc/CollisionHandler.cpp Diff ] File ]
mod - rts/Sim/Misc/CollisionHandler.h Diff ] File ]
add - rts/Sim/Misc/CollisionVolume.cpp Diff ] File ]
mod - rts/Sim/Misc/CollisionVolume.h Diff ] File ]
mod - rts/Sim/Misc/GroundBlockingObjectMap.cpp Diff ] File ]
mod - rts/Sim/Projectiles/ProjectileHandler.cpp Diff ] File ]
mod - rts/Sim/Units/UnitLoader.cpp Diff ] File ]