(Newbie question) spiral staircase and player best practice

andreas
Posts: 3
Joined: Fri Aug 03, 2012 2:18 pm

(Newbie question) spiral staircase and player best practice

Post by andreas »

Hi,

anyone has experience of implementing spiral staircase (as a model) with for example
stuff falling down the staircase or perhaps player (capsule) walking up.

How did you model the staircase in bullet to get it effective? Using crude planes, chop it up
and make use of shrinkwrap?

Any suggestions greatly appreciated!

Andreas
andreas
Posts: 3
Joined: Fri Aug 03, 2012 2:18 pm

Re: (Newbie question) spiral staircase and player best pract

Post by andreas »

It seems the only feasible solution would be to either chop the staircase up in segments as btConvexHull and collide them individually, or make a btCompoundShape for the entire staircase section. The approach I'm using is to load the collision as a predefined object from file.