[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Thread Index]
[Monthly Archives] [List Home]

Re: [Virtools] object slider



The Object slider reaction vector is calculated with the face normal it is colliding with ( i think)
so if you have a doubleside polygon as a wall the face normal will only point one way. so you can pass from the backside but not the frontside,
Are you sure all your obstacles are part of a collision group. adding obstacle attributes doesn't affect object slider bb.
 
hope this helps
 
tomas

Little Chicken Game Company
www.littlechicken.nl

Singel 459 1012 WP Amsterdam
Tel: 020-6202970
Fax: 020-4211267
Email: info@littlechicken.nl

Tomas Sala
Game Designer

Tomas@littlechicken.nl
Tel: 06-24256285

 

----- Original Message -----
From: pallamin nico
To: virtools-user-group@lists.theswapmeet.com
Sent: Wednesday, June 26, 2002 1:32 PM
Subject: [Virtools] object slider

hi
I have an house
a nice big house, with solid wall and some doors
 
i declered the house as an obstacle and i added a object slider
the house is constituted of wall with holes ( where i put the doors that now are not declered like obstacle jet)
 
so...the problem is that according to the parameter that i use as radious I can or not pass trought the holes.
and to be able to pass the little doors i have to set the radious to 0.1
and here the problems
 
1)with this radius i can pass trought the wall as well (ok i can use a workaround to decect proximity or contact etc etc)
 
2)with higer values 0.2 i can pass the big main door BUT JUST ON ONE SIDE so once entered i can't go out !!
so why the behaviour is different  from out to in and from in to out
 
ciao
Nico
 
 
 
 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pallamin Nico
GRIC-IRIT
118, Route de Narbonne
31062 Toulouse – France
Fax 05 61 55 77 09
Sms 06 99 49 57 00
http://www.irit.fr/GRIC/personnel/pallamin

 

GIF image


Follow-Ups: References: