Jump to content

Recommended Posts

Posted

Character controller physic model is to small for me.

In my game scorpion sops his moving if he collide with some object, but his claws ho throw the walls

because of physic model. Can i change the size of physic model? or there is another way to fix that?

post-14954-0-66799100-1445431524_thumb.jpg

post-14954-0-35698900-1445431735.png

Posted

Not really at this time. All AI uses the same navmesh, and the agent radius is used in the navmesh calculation.

 

I wouldn't really worry about this, I see this problem in AAA games all the time.

  • Upvote 1

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

Posted

Not really at this time. All AI uses the same navmesh, and the agent radius is used in the navmesh calculation.

 

I wouldn't really worry about this, I see this problem in AAA games all the time.

But still not being able to change character collider is a big problem. As you can see his scorpion is three times lower than collider so he should be able to crawl through small holes, but he won't with this collider.

  • Upvote 2
Posted

How would you do that? If you scale it bigger until the height fits, most of it on the sides will clip through walls etc. If you scale it smaller so it fits in the length and width, the height of the collider is way too big. And i haven't seen that much clipping in games for a long time.

Posted

Your scorpion doesn't need to match the height of the character controller. It's fine for it to be a lot shorter.

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

Posted

That raises the issue of getting thru low areas. I guess the solution would be to disable collision on the overhanging wall. Could be very specific scenarios where that doesn't work but for the most part it should I suppose. I'm doing training with bear and that game he has is something I'm helping him with in our training sessions so that's why I'm interested as I'm sure it'll come up

  • Upvote 1
Posted

That creates problems because if a scorpion can walk under a ledge, another taller character can walk right through it, since they all use the same navmesh.

 

That's why I am saying, just do what professional studios do: avoid situations that call attention to the limitations of your game.

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

Posted

Place an a wall with invisible material on the other side of the door large enough to push the scorpion back. and have the invisible wall move with the door or turn off it's physics so things can walk through it.

Posted

How about a global per level character height setting. This way you can use an average. Or if all characters are of the same height- avoid shch nasty limitations at all.

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

  • 2 weeks later...

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