Jump to content

remove physic forces complete


holschuh
 Share

Recommended Posts

Hi,

 

Is there a way to remove physic forces completely?

If i temporarely set collission to None for cinematic Animation and later put it back for further physics the old physic forces also come back.

 

if window:MouseDown(Key.LButton) then
self.state="ball"
self.childv = self.entity:FindChild("Daumen R") entitydb.kuerbis:SetMass(0)
entitydb.kuerbis:SetCollisionType(Collision.None)
entitydb.kuerbis:SetParent(self.childv,false)
entitydb.kuerbis:SetPosition(self.childv:GetPosition(true).x-0.1,self.childv:GetPosition(true).y+0.4,self.childv:GetPosition(true).z,true)
else
self.state="normal"
entitydb.kuerbis:SetParent(nil)
entitydb.kuerbis:SetMass(0.01)
entitydb.kuerbis:SetCollisionType(Collision.Prop)
end

 

cu

Volker

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...