Gamestudio Links
Zorro Links
Newest Posts
the company
by dabolong. 11/06/26 08:25
Removing outliers from files
by jcl. 11/04/26 10:30
[MED] Import from FBX (2010) missing!!!
by rayp. 11/03/26 14:33
What are you working on?
by rayp. 11/02/26 13:57
No connection to MT4
by JeyKey II. 10/29/26 09:34
Zorro plugin for Hyperliquid.xyz
by opm. 10/28/26 13:50
Icon "OP"
by JeyKey II. 10/27/26 07:03
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (dabolong, Quad, 1 invisible), 9,548 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
dabolong, MaliceTheMaker, Haitao_Ren, JimSimons, julienp
19249 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
2 short questions #309071
02/06/10 23:27
02/06/10 23:27
Joined: Jun 2009
Posts: 38
H
hungryhobo Offline OP
Newbie
hungryhobo  Offline OP
Newbie
H

Joined: Jun 2009
Posts: 38
hello, I have come across 2 problems.

I want the player ot be able to press a button and instantly be transported to a spot. i tried manually setting the xyz to 0 to pu the player at the origin. the character wil only stay there while the button is pressed though. As soon as the button is released, the character goes back to its original spot. I did:

unstuck()
{
player.x = 0;
player.y = 0;
player.z = 0;
}

I am using the physics engine and use torque to move my character who is a sphere.

Also:

using the physics engine and the same moving techniques, phent_addtorqueglobal, how can i make an item passable by only 1 type of entity.

I heard of using push, but i dont know how to do that with the physics engine. Thank you for your help.

Re: 2 short questions [Re: hungryhobo] #309077
02/06/10 23:43
02/06/10 23:43
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
You don`t can move a entity direct if this entity is registry as Physicobject. Erase the physic registration:
phent_settype( myCrate, 0, 0 );
Then you can move it and after that make a new registration as physic entity.

Re: 2 short questions [Re: Widi] #309085
02/07/10 02:36
02/07/10 02:36
Joined: Jun 2009
Posts: 38
H
hungryhobo Offline OP
Newbie
hungryhobo  Offline OP
Newbie
H

Joined: Jun 2009
Posts: 38
ah! got it. thank you. I am still having problems with my physics entity ignoring ignoring a model.



Last edited by hungryhobo; 02/07/10 02:43.

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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