Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
3 registered members (Grant, TipmyPip, AndrewAMD), 12,724 guests, and 5 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 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 | 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