Jump to content

Physics imprecision bug

Recommended Posts

Using the character controller and walking is ok, but jumping from a height the character sink a little on the floor, and readjust later if it keeps walking around.


The code is standard

self.entity:SetInput(rotY, self.playerMovement.z, self.playerMovement.x, 0, false, 0.8)




This is BSP imprecision and i use a BSP in some non common way, as i have a very big cube as BSP for the floor.

Just walking around when going further the character starts to sink on the floor even without jumping.


Share this post

Link to post

I deleted the Cube brush, and maked a new one from menu and not copying some cube, and there is no more collision problem.



The thread can be closed.


Share this post

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

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...