|
collision_event
#248438
01/26/09 22:00
01/26/09 22:00
|
Joined: May 2008
Posts: 331 Lithuania, Vilnius
Jaxas
OP
Senior Member
|
OP
Senior Member
Joined: May 2008
Posts: 331
Lithuania, Vilnius
|
Which event can check whether not moving object collide with other not moving object?
The smaller the bug, the harder it is to kill. _________________________________________ Forklift DEMO (3dgs)
|
|
|
Re: collision_event
[Re: Jaxas]
#248440
01/26/09 22:08
01/26/09 22:08
|
Joined: Jul 2007
Posts: 959 nl
flits
User
|
User
Joined: Jul 2007
Posts: 959
nl
|
there isnt but you could use c_trace /c_scan ore c_move for this
ore jou need to write your own colision detector(this can be hard)
"empty"
|
|
|
Re: collision_event
[Re: Jaxas]
#248450
01/26/09 22:57
01/26/09 22:57
|
Joined: Jan 2008
Posts: 1,580
Blade280891
Serious User
|
Serious User
Joined: Jan 2008
Posts: 1,580
|
yeah there is quite a few, i can't remember them of the top of my head check the manual.
But they are used in conjunction with functions like c_scan
My Avatar Randomness V2"Someone get me to the doctor, and someone call the nurse And someone buy me roses, and someone burned the church"
|
|
|
Re: collision_event
[Re: Gerrit]
#248461
01/27/09 00:07
01/27/09 00:07
|
Joined: Jan 2008
Posts: 1,580
Blade280891
Serious User
|
Serious User
Joined: Jan 2008
Posts: 1,580
|
You can use EVENT_COLLIDE ( i think ), or c_scan to find how close they are
My Avatar Randomness V2"Someone get me to the doctor, and someone call the nurse And someone buy me roses, and someone burned the church"
|
|
|
Re: collision_event
[Re: Blade280891]
#248513
01/27/09 10:54
01/27/09 10:54
|
Joined: May 2008
Posts: 331 Lithuania, Vilnius
Jaxas
OP
Senior Member
|
OP
Senior Member
Joined: May 2008
Posts: 331
Lithuania, Vilnius
|
Gerrit, if one object is example inside other object, and they both don't moving, they actually colliding each other i think. And Blade280891, such event like EVENT_COLLIDE does not exist i simply use small c_trace to find "you" entity
The smaller the bug, the harder it is to kill. _________________________________________ Forklift DEMO (3dgs)
|
|
|
Re: collision_event
[Re: Jaxas]
#248571
01/27/09 19:13
01/27/09 19:13
|
Joined: Oct 2008
Posts: 218 Nashua NH
heinekenbottle
Member
|
Member
Joined: Oct 2008
Posts: 218
Nashua NH
|
Gerrit, if one object is example inside other object, and they both don't moving, they actually colliding each other i think. And Blade280891, such event like EVENT_COLLIDE does not exist i simply use small c_trace to find "you" entity EVENT_COLLIDE does not exist under those words, but it does exist under different terminology. The three events are as follows: EVENT_IMPACT EVENT_ENTITY EVENT_BLOCK EVENT_IMPACT: Hit by another entity using c_move EVENT_ENTITY: An entity, moved by c_move, hit another entity EVENT_BLOCK: Hit level blocks Note that they all require c_move by at least one entity, so it won't work for the problem above.
Last edited by heinekenbottle; 01/27/09 19:18.
|
|
|
Re: collision_event
[Re: dracula]
#248589
01/27/09 20:47
01/27/09 20:47
|
Joined: Jan 2008
Posts: 1,580
Blade280891
Serious User
|
Serious User
Joined: Jan 2008
Posts: 1,580
|
My Avatar Randomness V2"Someone get me to the doctor, and someone call the nurse And someone buy me roses, and someone burned the church"
|
|
|
|