Jump to content

Recommended Posts

Posted

Hi, i can't seem to get Buoyancy working on my Character Controller, but it collides with everthing else in my map.

 

here is my player code:

 

Controller player;
player.Create(1.8f, .3f, .5f, 45.0f, 1.0f);
player.SetMass(1);
player.SetDamping(.0f, .0f);
player.SetBuoyancyMode(1);
player.SetType(1);
player.SetPosition(Vec3(15.0f, 12.0f, 80.0f), LOCAL);

Collisions::Set(1,1,SLIDINGCOLLISION);

 

 

I can't remember what changed after Character Controller was updated awhile back.

 

My spectator cam has Buoyancy, and all the other objects as well.

Win 7 64, LE 2.31, Liquid Cooled I7-960 @ 4.00GHz, 6GB DDR3 Ram @ 1600mhz, BFG GTX295, Sound Blaster X-FI.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...