Gamestudio Links
Zorro Links
Newest Posts
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 (TipmyPip, AndrewAMD), 1,151 guests, and 4 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
Placing Objects [Fixed] #261251
04/16/09 14:42
04/16/09 14:42
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
fixed..

Last edited by Dreher; 04/17/09 21:41.

A7 7.77
Re: Placing Objects [Re: Dreher] #261285
04/16/09 16:42
04/16/09 16:42
Joined: Apr 2009
Posts: 113
Netherlands
D
Dreher Offline OP
Warez Victim
Dreher  Offline OP
Warez Victim
D

Joined: Apr 2009
Posts: 113
Netherlands
fixed..

Last edited by Dreher; 04/16/09 17:39.

A7 7.77
Re: Placing Objects [Re: Dreher] #261286
04/16/09 16:54
04/16/09 16:54
Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
Pappenheimer Offline
Senior Expert
Pappenheimer  Offline
Senior Expert

Joined: Sep 2003
Posts: 5,900
Bielefeld, Germany
To say it more precisely:
There is no problem placing a physics object with vec_for_vertex - once, before the physics starts, but you can't update it _while_ using the physics properties, because fixing to a certain place contradicts physical properties. The fixing has to happen by a physical property, and that's where the hinges come in.
From the manual:

Quote:
When connecting two objects by calling phcon_add, make sure that they are already in the right position and don't penetrate each other- if they are meant to penetrate a little (e.g. wheels inside the car body's bounding box), set both objects to the same group ID using phent_setgroup. The following list provides an overview of currently available constraints and their required parameters.
PH_HINGE
Type:

hinge (10K)
Description : A hinge constrains two entitites to have a common axis of rotation and to stay a fixed distance from this axis. As depicted in the image above, you need to specify this rotation axis and an anchor point on said axis. The distance from each entity to the axis is determined when you first create the constraint. Therefore make sure to place the entities in the right position, before adding the hinge. The initial orientation is also taken as an angle value of zero degrees. Thus if both entities are rotated by 90 degrees with respect to each other and you set the angle limit to (0,0) they will remain in the initial orientation.


Re: Placing Objects [Re: Pappenheimer] #262488
04/24/09 04:28
04/24/09 04:28
Joined: Jan 2009
Posts: 86
Brasil - RS
D
DiegoFloor Offline
Junior Member
DiegoFloor  Offline
Junior Member
D

Joined: Jan 2009
Posts: 86
Brasil - RS
If Pappenheimer didn't repeated your question when explaining I wouldn't know what the problem was. I understand adding a 'solved' to the title, but why delete the question?



Last edited by DiegoFloor; 04/24/09 04:31. Reason: Wrong info
Re: Placing Objects [Re: DiegoFloor] #262516
04/24/09 08:59
04/24/09 08:59
Joined: May 2008
Posts: 331
Lithuania, Vilnius
Jaxas Offline
Senior Member
Jaxas  Offline
Senior Member

Joined: May 2008
Posts: 331
Lithuania, Vilnius
@Dreher never delete your posts, that the other with the same problem can find the solution!


The smaller the bug, the harder it is to kill.
_________________________________________
Forklift DEMO (3dgs)

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