Soamp Posted September 24, 2010 Share Posted September 24, 2010 Hi, since we cant change the shape of controller from cylinder to an Ellipsoid cylinder, FPS weapon left outside the controller and penetrates into obstacles like attached pic. Does anyone know a good way to prevent FPS weapon from going into obstacles? I was thinking, if we can render hands and weapons in another place (or even another world) and then draw them on screen. but what can we do about lights , shadows , ...? thanks in advance. Quote Link to comment Share on other sites More sharing options...
Laurens Posted September 24, 2010 Share Posted September 24, 2010 You could enable collisions on the weapon and the hand. That should prevent it from clipping into other objects. Quote Link to comment Share on other sites More sharing options...
Canardia Posted September 24, 2010 Share Posted September 24, 2010 Make an weapon up animation when it gets too close to walls. That's how Crysis does it too. Quote ■ Ryzen 9 ■ RX 6800M ■ 16GB ■ XF8 ■ Windows 11 ■ ■ Ultra ■ LE 2.5 ■ 3DWS 5.6 ■ Reaper ■ C/C++ ■ C# ■ Fortran 2008 ■ Story ■ ■ Homepage: https://canardia.com ■ Link to comment Share on other sites More sharing options...
Masterxilo Posted September 24, 2010 Share Posted September 24, 2010 Set the weapon's material to be always drawn on top of all. Or put it in another world and clear the depth buffer before rendering. Lot's of ways to achieve this. Quote Hurricane-Eye Entertainment - Site, blog. Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.