Gamestudio Links
Zorro Links
Newest Posts
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, ozgur, AbrahamR, wdlmaster), 849 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Limit physics collisions? #265684
05/13/09 16:39
05/13/09 16:39
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
Is there a way to limit physics collisions. I want to stop physics objects from colliding with blocks and terrain. I also need to tell it to ignore certain objects. How do I use push with physics?

I have a player who's physical collisions are managed by and invisible object that is attached to it. However tones of memory is being used in the calculations of collisions between the player and the physics object. I also don't need the physics object to handle map collisions as the player does that.

Anyone know a way?


For some reason, my ambition always seems to beat my ability.
Re: Limit physics collisions? [Re: sydan] #265685
05/13/09 16:42
05/13/09 16:42
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
look in the manual for phent_setgroup ( entity, var groupID );


"empty"
Re: Limit physics collisions? [Re: flits] #265687
05/13/09 16:45
05/13/09 16:45
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
Sorry Im new to the physics engine. I was actually just looking at that in the menu. Does it allow me to restrict physics between non physics entities and physics entities. If so how?


For some reason, my ambition always seems to beat my ability.
Re: Limit physics collisions? [Re: sydan] #265689
05/13/09 16:52
05/13/09 16:52
Joined: Jul 2007
Posts: 959
nl
F
flits Offline
User
flits  Offline
User
F

Joined: Jul 2007
Posts: 959
nl
dont use group id 0
1 is standard all vs all colision

others is white the same id no collsion and white other id collision

i dont know how to ignore terain white gs pshycic i dont use it any more wink


"empty"
Re: Limit physics collisions? [Re: flits] #265690
05/13/09 16:53
05/13/09 16:53
Joined: Oct 2007
Posts: 116
S
sydan Offline OP
Member
sydan  Offline OP
Member
S

Joined: Oct 2007
Posts: 116
It doesnt work. The engine complains that the player isnt a physics object when i try to set the group. If I make the player a physics object and then quickly dissable it then the player cannot move correctly.


For some reason, my ambition always seems to beat my ability.

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