x


Large Colliders Hitting Terrain

Hey.

I have some very large colliders that move around the game world but when ever they hit land for some reason it causes huge FPS lag.

Why would this happen?

Cheers.

more ▼

asked Aug 02 '11 at 09:51 PM

Tides gravatar image

Tides
31 15 19 21

Is there any particular code you're running that might cause that?

Aug 02 '11 at 10:00 PM Chris D

Oh, so it will be a code issue will it? Well I have a basic movement code and some onTriggerEnter as well.

I'll start commenting out parts of the script to see what's causing it.

Aug 02 '11 at 10:17 PM Tides

It's a conceivable bug though (if they didn't expect a collision to span far across the terrain), so maybe you should start by trying to reproduce the bug on a new trivial scene: then you've got the input to a bug report if it is still very slow.

Aug 02 '11 at 11:16 PM Waz

I worked out what the issue is.

If the object is using the Buoyancy Toolkit and has large colliders on it as well as the one used by the toolkit and it hits land all hell breaks loose.

Anyone know why?

Aug 03 '11 at 08:08 AM Tides
(comments are locked)
10|3000 characters needed characters left

0 answers: sort newest
Be the first one to answer this question
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x1521
x1201
x293
x204

asked: Aug 02 '11 at 09:51 PM

Seen: 811 times

Last Updated: Aug 03 '11 at 08:08 AM