Gamestudio Links
Zorro Links
Newest Posts
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
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (AndrewAMD, Kingware, AemStones, RealSerious3D), 1,388 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
LucasJoshua, Baklazhan, Hanky27, firatv, wandaluciaia
19054 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[newton] passable for a short time? #50525
08/01/05 08:08
08/01/05 08:08
Joined: Aug 2004
Posts: 593
Germany
Efrint Offline OP
Developer
Efrint  Offline OP
Developer

Joined: Aug 2004
Posts: 593
Germany
Hallo,

is it possible to set an entity passable for a short time, so it can move through blocks? My.push and my.passable doesn´t work in newton...

Regards Efrint

Re: [newton] passable for a short time? [Re: Efrint] #50526
08/01/05 08:10
08/01/05 08:10
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
i think by returning 0 in the material callbacks collisions get ignored.

Re: [newton] passable for a short time? [Re: ventilator] #50527
08/01/05 08:23
08/01/05 08:23
Joined: Aug 2004
Posts: 593
Germany
Efrint Offline OP
Developer
Efrint  Offline OP
Developer

Joined: Aug 2004
Posts: 593
Germany
aahh....how can i do that?

Re: [newton] passable for a short time? [Re: Efrint] #50528
08/01/05 08:29
08/01/05 08:29
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
if you look at the material definitions you will see that every material defines a collision start, process and end callback. these are the functions that get called if a newton entity with that material collides with something (for more information about this you could look into the manual of the newton c-api). if you return(0); in these functions the collision gets ignored. i am not sure if this was already implemented in the old plugin but i am 99% sure that it was.

Re: [newton] passable for a short time? [Re: ventilator] #50529
08/01/05 09:41
08/01/05 09:41
Joined: Aug 2004
Posts: 593
Germany
Efrint Offline OP
Developer
Efrint  Offline OP
Developer

Joined: Aug 2004
Posts: 593
Germany
ahh....i understood...i will try...thx

Re: [newton] passable for a short time? [Re: Efrint] #50530
08/01/05 12:52
08/01/05 12:52
Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
Marcio Esper Offline
Senior Member
Marcio Esper  Offline
Senior Member

Joined: Sep 2002
Posts: 344
São Paulo SP Brazil
You need just change the colision group ID.

look in the newton's WDL and you will found it.

best regards,

Marcio


Moderated by  HeelX, Spirit 

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