Best object for a track

Discuss any questions about BEPUphysics or problems encountered.
Post Reply
ApppStudio
Posts: 9
Joined: Thu Jul 27, 2017 12:28 pm

Best object for a track

Post by ApppStudio » Sun Aug 06, 2017 11:06 pm

Firstly my appologies fro posting another question. I have a track object which is generated at a list of vector3 I thought that ConvexHull would be the best way to go but I get the exception the object has no volume. I a guessing that this is because they are simple objects with no height what object would I be best using

Norbo
Site Admin
Posts: 4497
Joined: Tue Jul 04, 2006 4:45 am

Re: Best object for a track

Post by Norbo » Sun Aug 06, 2017 11:29 pm

If you mean like a static race track model, then probably a StaticMesh. Check out the StaticMeshDemo in the BEPUphysicsDemos for an example.

Culbreath
Posts: 1
Joined: Thu Aug 10, 2017 11:27 am

Re: Best object for a track

Post by Culbreath » Thu Aug 17, 2017 7:35 am

Yeah, I would use the static mesh. it's perfect for this kind of stuff.

ApppStudio
Posts: 9
Joined: Thu Jul 27, 2017 12:28 pm

Re: Best object for a track

Post by ApppStudio » Wed Aug 30, 2017 2:11 pm

Thanks guys thats fantastic sorry for slow reply been busy with the day job

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests