cassius Posted December 3, 2009 Share Posted December 3, 2009 My player has difficulty climbing stairs. It gets half way up then stops. I have a cube in front of it. Whats the best way to give it more impetus? Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
Porsche Posted December 3, 2009 Share Posted December 3, 2009 My player has difficulty climbing stairs. It gets half way up then stops. I have a cube in front of it. Whats the best way to give it more impetus? Wait what? You're using a cube for the player collision data? Unless. .. I mean if you've got a cube in the way, then one would guess that's why you can't get up the stairs. Can you rephrase your question? Quote Artist, Animator, Musician, P/T Programmer Dual Core @ 2.6GHz per /nVidia 9600 GT/ 4 GBs DDR3 6800 / XP Pro 32/64 Bit Photoshop CS3 / 3D Studio Max 8 / VS '08 Link to comment Share on other sites More sharing options...
cassius Posted December 4, 2009 Author Share Posted December 4, 2009 without the cube collision with objects did not look right, the controller seemed to pass thru them and although it did knock them over you could not see the collision clearly.The wiki tutorial uses a cube. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ Link to comment Share on other sites More sharing options...
macklebee Posted December 4, 2009 Share Posted December 4, 2009 what are you using for an acceleration value for the UpdateController command? That increases the acceleration of your controller (and inversely the deceleration). What is the mass you have set to your controller? A controller with a much higher mass than the object it collides with will react differently than when the two are closer in mass. Also, play around with the iterations value (the parameter after the acceleration parameter in UpdateController), because according to the wiki: The iterations parameter controls how many times collision is calculated. Using several iterations can make motion appear smoother when a camera is attached to the controller. However, an iterations value of one is enough for controllers that do not control the view. Quote Win7 64bit / Intel i7-2600 CPU @ 3.9 GHz / 16 GB DDR3 / NVIDIA GeForce GTX 590 LE / 3DWS / BMX / Hexagon macklebee's channel Link to comment Share on other sites More sharing options...
cassius Posted December 4, 2009 Author Share Posted December 4, 2009 Thanks maclebee. I am using the listing you gave the community. I have added a cube (invisible) and parented to the controller. It works fine for collisions but need a bit more impetus going up stairs. I will check acceleration. Quote amd quad core 4 ghz / geforce 660 ti 2gb / win 10 Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++ 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.