Jump to content

Character SetRadius()


SpiderPig
 Share

Recommended Posts

I can't seem to adjust the radius of my players character controller;

physicsPivot->SetGravityMode(false);
physicsPivot->SetDamping(0.0f, 0.0f);
physicsPivot->SetPhysicsMode(Entity::CharacterPhysics);
physicsPivot->SetCollisionType(COLLISION::PLAYER);
physicsPivot->SetMass(1.0f);
physicsPivot->charactercontroller->SetMaxSlope(80.0f);
physicsPivot->charactercontroller->SetRadius(0.2f);
float r = physicsPivot->charactercontroller->GetRadius();

The change is being detected in the variable "r" but in game there is no difference.    Any suggestions?

Link to comment
Share on other sites

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.

 Share

×
×
  • Create New...