How to apply collision to OBJ file?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
alko
Posts: 26
Joined: Wed Aug 29, 2018 10:14 am

How to apply collision to OBJ file?

Post by alko »

I make level in obj-format

Image

I need enable per-polygonal collision with FPS-camera. How make this ?
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: How to apply collision to OBJ file?

Post by CuteAlien »

Take a look at example 07 - it explains collisions. If you have any problems with that examples just ask here again about specific problems.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
alko
Posts: 26
Joined: Wed Aug 29, 2018 10:14 am

Re: How to apply collision to OBJ file?

Post by alko »

CuteAlien wrote:Take a look at example 07 - it explains collisions. If you have any problems with that examples just ask here again about specific problems.
Does createOctreeTriangleSelector work with OBJ ?
I thought he was processing only BSP-map (Quake)
CuteAlien
Admin
Posts: 9734
Joined: Mon Mar 06, 2006 2:25 pm
Location: Tübingen, Germany
Contact:

Re: How to apply collision to OBJ file?

Post by CuteAlien »

It does work, but you can also use createTriangleSelector.
BSP-trees from quake are not supported to my knowledge.
IRC: #irrlicht on irc.libera.chat
Code snippet repository: https://github.com/mzeilfelder/irr-playground-micha
Free racer made with Irrlicht: http://www.irrgheist.com/hcraftsource.htm
Post Reply