Jump to content

Recommended Posts

Posted

Sometimes my main character in my 3rd person game gets pushed into a wall by enemy character and gets stuck there. Is this because the physics body is not big enough? The character carries a sword which is outside the box body ( or partialy so.)

In my program all the possible collision types are covered.Or is this a weakness in Newton?

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

The character controller uses my own physics routines which have been very stable. I can't say what the problem might be without seeing an example.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

Perhaps the problem can be the sword if it uses collision that is all time enabled ?

Or do you use collision detection for sword only when the character attack and with a ray intersection or with the real sword body mesh ?

 

You could test, by not putting the sword in the scene to see how things behave that way !

Stop toying and make games

Posted

No. The sword is just part of the character. Other characters also partialy fall thru the floor during their "die" anims if they collide with the main character when falling.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

..maybe its your character animation offset...that means that pivot point of your character mesh is properly aligned to controller so controller doing just fine, but offseted animation cycle is not controller dependant therefore it goes trough near objects such as walls in this case..

 

Posted

Yeah, it maybe that. its something to do with physics though. I will have another session with phygen and see what I can do. I dont want to make the physics body too big on my characters as sometimes they have to fall off a high point or ledge and if I make the body too wide they hover in mid air before falling.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

I did the level in 3dws with a wall thickness of 64.I am surprised that no one else has had similar probs recently but I know they HAVe in the past.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Posted

I think its fixed. Looks like cube around main character was too small in x and z directions.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

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