rotate collision ellipsoid?

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
floppyfreak
Posts: 117
Joined: Sat Apr 19, 2008 10:14 am

rotate collision ellipsoid?

Post by floppyfreak »

I use a collisionResponse like this one:

Code: Select all

ptColResAni=irrSceneMgr->createCollisionResponseAnimator(
                        msel, TELLtecam, core::vector3df(4,1,1.1),
                    	core::vector3df(0,0,0),
                    	core::vector3df(0,0,0));
now I want the ellipsiod to rotate together with my cam, but it doesn't happen. When I rotate at a wall, the closest distance to the wall will not change. Is the reason for this somewhere in my code or is it a irrlicht feature?
How can I make a collision body that changes with my rotation?
PI
Posts: 176
Joined: Tue Oct 09, 2007 7:15 pm
Location: Hungary

Post by PI »

Hehehe! Google it up how funny this is! That's why I won't implement rotating ellipsoids into FC.
floppyfreak
Posts: 117
Joined: Sat Apr 19, 2008 10:14 am

Post by floppyfreak »

PI wrote:Hehehe! Google it up how funny this is!
Sorry, I can't see the fun in it :roll:
PI
Posts: 176
Joined: Tue Oct 09, 2007 7:15 pm
Location: Hungary

Post by PI »

It's complexity doesn't worth the effort. Probably you'd have a solution that's too slow for regular use.
floppyfreak
Posts: 117
Joined: Sat Apr 19, 2008 10:14 am

Post by floppyfreak »

PI wrote:It's complexity doesn't worth the effort. Probably you'd have a solution that's too slow for regular use.
So I guess what should be done is a two- step solution? Find the nearby- collisions with ellipsoid and if true check for precise collisions ?!
PI
Posts: 176
Joined: Tue Oct 09, 2007 7:15 pm
Location: Hungary

Post by PI »

Well, I guess it would be more than just two steps.

I have some ideas for workarounds, but it all depends: what do you want to archieve?
floppyfreak
Posts: 117
Joined: Sat Apr 19, 2008 10:14 am

Post by floppyfreak »

I have a flying object that is more flat then thick an it shall get closed to walls (also ceilings etc) without flying into walls. That simple for the moment.
PI
Posts: 176
Joined: Tue Oct 09, 2007 7:15 pm
Location: Hungary

Post by PI »

The easiest is to use an UFO-shape for this.
Post Reply