Product Chat / is Polygon collision able?

Author
Message
thorus22
10
Years of Service
User Offline
Joined: 13th Oct 2013
Location:
Posted: 25th Nov 2013 10:26
Hey, anyone know if there is a way to make the collision of objects to Polygon?



i mean when i place a tree and run in front to it, it stop me ~10 feets before i arrive the tree.. i made a picture to show you what i mean.



i think the engine mean that the invisible leafe plane is also a collision



sry for the engish i hope you understand what i mean,



it would be pretty if there is a way to set the collision box only to the

tree trunk and not the branch or leafes.



the fpe file is:

;header

desc = tree03



;visualinfo

textured = tree3_D.dds

effect = effectbank\reloaded\entity_basic.fx

castshadow = 0



;orientation

model = tree3.X

offx = 0

offy = 0

offz = 0

rotx = 0

roty = 0

rotz = 0

defaultstatic = 0

materialindex = 3





;statistics

strength = 25

explodable = 0

debrisshape = 1



;ai

aiinit = appear1.fpi

aimain = default.fpi

aidestroy = disappear1.fpi



;spawn

spawnmax = 0

spawndelay = 0

spawnqty = 0



[img][/img]
PM
science boy
15
Years of Service
User Offline
Joined: 3rd Oct 2008
Location: Up the creek
Posted: 25th Nov 2013 12:35
All you need to so is add this line



Collisionmode =1





THen it will work with polygons

an unquenchable thirst for knowledge of game creation!!!
thorus22
10
Years of Service
User Offline
Joined: 13th Oct 2013
Location:
Posted: 25th Nov 2013 12:57
thanks for the answer but with Collisionmode = 1 i canĀ“t walk throw leafes and branch of the tree but i can walk throw the trunk of the tree :/



i wish it would be the collision turn reverse..
PM
Emrys
10
Years of Service
User Offline
Joined: 4th Nov 2013
Location: UK
Posted: 25th Nov 2013 13:12
I don't know if the Collosionmode setting are the same as FPSC, if they are you could try a different mode. Don't forget this is a Beta so it may not work as it should yet.



0 - Box collision

1 - Polygon collision

2 - Reduced collision

3 - Cylinder collision

4 - Sphere collision



HTH
PM
science boy
15
Years of Service
User Offline
Joined: 3rd Oct 2008
Location: Up the creek
Posted: 25th Nov 2013 17:42
which version are you using make sure it is beta 1.002



with this beta yes cant walk through leaves unless that is a seperate entity and given a different collision mode.

collision got corrected for beta 2. beta 1 was shocking for it.

an unquenchable thirst for knowledge of game creation!!!
thorus22
10
Years of Service
User Offline
Joined: 13th Oct 2013
Location:
Posted: 25th Nov 2013 22:31
allright thanks guys!
PM
rolfy
17
Years of Service
User Offline
Joined: 23rd Jun 2006
Location:
Posted: 25th Nov 2013 22:38
Trees I made work fine as the leaf canopy is higher than the player, they seem small in Reloaded. You can only script no collision so that's not possible right now.

Just an aside but box =2, we have been over that one before, the settings in entity maker were wrong and that's where most folks got the info for collision in the past, the source says otherwise.
LeeBamber
TGC Lead Developer
24
Years of Service
User Offline
Joined: 21st Jan 2000
Location: England
Posted: 21st Dec 2013 20:09
In BETA 1.004, setting COLLISIONMODE to 11 will instruct the engine to use no collision or create an AI obstacle for the entity.

Hogging the awesome since 1999

Login to post a reply

Server time is: 2024-05-03 06:38:37
Your offset time is: 2024-05-03 06:38:37