Rollcage
Member
|
alternate drawBehind() functions
Would it be possible for the drawBehind functions to be extended to allow meshes to be drawn with their material instead of solid colours. This would be very useful in First Person Shooter games to prevent the weapon from clipping through walls.
|
|
10-06-2011 09:20 AM |
|
Esenthel
Administrator
|
RE: alternate drawBehind() functions
no, the surface would be shadowed (behind the wall) - unrealistic lighting
|
|
10-06-2011 11:16 AM |
|
llynx
Member
|
RE: alternate drawBehind() functions
Many FPS's have an animation where the gun is pointed upwards when too close to a wall. Some in addition to this have it so the gun moves towards the player slightly if the gun is beginning to clip the wall (0-10cm) then anything past that the animation kicks in.
|
|
10-09-2011 02:15 PM |
|