Gamestudio Links
Zorro Links
Newest Posts
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 05:41
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
2 registered members (AbrahamR, AndrewAMD), 1,278 guests, and 2 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
[Newton] Collision with non physics enitys problem #49389
07/18/05 15:44
07/18/05 15:44
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline OP
Developer
xoNoid  Offline OP
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
Hello I have been trying to use Newton game dynamics but to no avail. Currently I have installed it in my own test project and the newton objects are currently colliding properly with the level geometry and with each other. However they are not reacting to non physics entities. What is strange is that it works fine with the template script player_walk_fight action but not with my own action. Any help would be appreciated.

Re: [Newton] Collision with non physics enitys pro [Re: xoNoid] #49390
07/18/05 21:07
07/18/05 21:07
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
It is becouse the colision get the group ID to work.

You need use all your models in the same Group ID that your physics models are working.

best regards,

MArcio

Re: [Newton] Collision with non physics enitys pro [Re: Marcio Esper] #49391
07/18/05 21:14
07/18/05 21:14
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline OP
Developer
xoNoid  Offline OP
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
Sorry I dont understand what your saying. What group ID?

Re: [Newton] Collision with non physics enitys pro [Re: xoNoid] #49392
07/19/05 02:18
07/19/05 02:18
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
Hi,

to make a car for ex, in the newton, you need put it inside a group, this group have an ID - identification.

All other models in the map, if you use the newton, it make to you this identification with the others models used in the map ( just if you not change the colision group in the behavior) if you put a diferent model in the map, with out use of newton, it have other ID, and it will not work with the colision system of newton if you not change to the same ID.

Sorry But I do not know how to change the not newton models ID to work with the same ID that newton work, days ago I was looking for a deep tutorial about newton, but without success.

Sorry for the terrible english.

best regards,

Marcio

Re: [Newton] Collision with non physics enitys pro [Re: Marcio Esper] #49393
07/19/05 02:53
07/19/05 02:53
Joined: May 2002
Posts: 7,441
ventilator Offline
Senior Expert
ventilator  Offline
Senior Expert

Joined: May 2002
Posts: 7,441
the current newton plugin doesn't know anything about non-newton entities. they get ignored by default. the template player script uses 3dgs's collision system to apply impulses to newton entities on impact. this isn't very realistic and was just meant as a quick workaround until the character controller gets included into the 3dgs plugin (which didn't happen yet)...

interaction of physics entities with non-physics entities is problematic in general. with a6's physics engine moving non-physics entities get treated as objects with infinite mass. this often results in extreme forces which can cause trouble like physics entities which can easily get pressed through walls.

a solution is to use physics for all entities. for many things (cars,...) a physics engine works better anyway and with the upcoming character controller of the new newton plugin it will be easily possible use physics entities as characters too. static entities currently could be added as physics objects with mass 0 (which is infinite mass for physics engines) so they don't move. with the upcoming plugin it will also be possible to add polygons of static entities to the static collision tree.

Re: [Newton] Collision with non physics enitys pro [Re: ventilator] #49394
07/20/05 14:19
07/20/05 14:19
Joined: Sep 2002
Posts: 758
Sunny Scotland
xoNoid Offline OP
Developer
xoNoid  Offline OP
Developer

Joined: Sep 2002
Posts: 758
Sunny Scotland
I'm now trying to make my player entity a newton physics object. The problem is that I cant find out how to add velocity to a physics object. The documentation is just confusing.

Re: [Newton] Collision with non physics enitys pro [Re: xoNoid] #49395
07/20/05 22:47
07/20/05 22:47
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
I agree,

The newton documentation is very basic.

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