Jump to content

Recommended Posts

Posted

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

Posted

If you set the mass to zero the entity will be completely unaffected by physics.

My job is to make tools you love, with the features you want, and performance you can't live without.

Posted

That would not surprise me. Maybe make a copy of the entity and use that for your non-physics version?

My job is to make tools you love, with the features you want, and performance you can't live without.

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.

×
×
  • Create New...