About Store Forum Documentation Contact



Post Reply 
Different Collision Types
Author Message
Rollcage Offline
Member

Post: #1
Different Collision Types
Browsing through some example code I see the use of several different collision functions. I was just wondering if I could get some clarification on what they are used for and how they differ. The functions are:

Physics.cuts(...)
Physics.sweep(..)
Cuts(..)
SweepBallCapsule(...)

Any explanation will be helpful. SPecifically what is the difference between Physics.cuts and physics.sweep? comments in physics.h talk about collision on the "move" way but im not sure what that is
(This post was last modified: 01-10-2012 08:24 AM by Rollcage.)
01-10-2012 08:22 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Different Collision Types
there is tutorial for sweep in SDK (you move shape from original position into custom position and detect collisions on the way)

cuts - current collisions with other shapes without any moving

Physics methods are affected by all actors

while global functions as Cuts,Sweep* operate only on 2 specified shapes
01-11-2012 03:52 PM
Find all posts by this user Quote this message in a reply
Post Reply