Gamestudio Links
Zorro Links
Newest Posts
bestwinsite
by winsite3. 05/30/24 04:10
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (SBGuy, AndrewAMD, VoroneTZ), 912 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19055 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 3 1 2 3
collision_event #248438
01/26/09 22:00
01/26/09 22:00
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline OP
Senior Member
Jaxas  Offline 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
F
flits Offline
User
flits  Offline
User
F

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: flits] #248442
01/26/09 22:14
01/26/09 22:14
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline OP
Senior Member
Jaxas  Offline OP
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
i see..i just thought there's way throught event grin
thanks any way wink


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)
Re: collision_event [Re: Jaxas] #248450
01/26/09 22:57
01/26/09 22:57
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
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: Jaxas] #248459
01/27/09 00:04
01/27/09 00:04
Joined: Sep 2005
Posts: 75
CA, Orange County
Gerrit Offline
Junior Member
Gerrit  Offline
Junior Member

Joined: Sep 2005
Posts: 75
CA, Orange County
I don't understand how 2 NOT moving objects can collide? Could you elaborate?
Gerrit

Re: collision_event [Re: Gerrit] #248461
01/27/09 00:07
01/27/09 00:07
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
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 Offline OP
Senior Member
Jaxas  Offline 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 laugh i simply use small c_trace to find "you" entity wink


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 Offline
Member
heinekenbottle  Offline
Member

Joined: Oct 2008
Posts: 218
Nashua NH
Originally Posted By: Jaxas
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 laugh i simply use small c_trace to find "you" entity wink


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.

I was once Anonymous_Alcoholic.

Code Breakpoint;
Re: collision_event [Re: heinekenbottle] #248575
01/27/09 19:43
01/27/09 19:43
Joined: Apr 2008
Posts: 437
dracula Offline
Senior Member
dracula  Offline
Senior Member

Joined: Apr 2008
Posts: 437
If I wasn't using c_move, say I was using 'missile.x += 10; ' in a 2D game, what could I use to detect collision status ?

Thanks


Re: collision_event [Re: dracula] #248589
01/27/09 20:47
01/27/09 20:47
Joined: Jan 2008
Posts: 1,580
Blade280891 Offline
Serious User
Blade280891  Offline
Serious User

Joined: Jan 2008
Posts: 1,580
c_trace still


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"
Page 1 of 3 1 2 3

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1