About Store Forum Documentation Contact



Post Reply 
alternate drawBehind() functions
Author Message
Rollcage Offline
Member

Post: #1
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
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: alternate drawBehind() functions
no, the surface would be shadowed (behind the wall) - unrealistic lighting
10-06-2011 11:16 AM
Find all posts by this user Quote this message in a reply
llynx Offline
Member

Post: #3
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
Find all posts by this user Quote this message in a reply
Post Reply