SKPhysicsBody
E518839
SKPhysicsBody is a SpriteKit class that defines the physical properties and collision behavior of nodes in a 2D physics simulation.
Statements (55)
| Predicate | Object |
|---|---|
| instanceOf |
SpriteKit class
ⓘ
class ⓘ |
| associatedWith |
SKNode
NERFINISHED
ⓘ
SKPhysicsWorld NERFINISHED ⓘ SKScene NERFINISHED ⓘ |
| canBeCreatedWith |
bodies:
ⓘ
circleOfRadius: ⓘ edgeFromPoint:toPoint: ⓘ edgeLoopFromPath: ⓘ edgeLoopFromRect: ⓘ polygonFromPath: ⓘ rectangleOfSize: ⓘ rectangleOfSize:center: ⓘ texture:size: ⓘ |
| definedInFramework | SpriteKit NERFINISHED ⓘ |
| frameworkOwner | Apple NERFINISHED ⓘ |
| inheritsFrom | NSObject NERFINISHED ⓘ |
| interactsWith |
SKPhysicsContact
NERFINISHED
ⓘ
SKPhysicsJoint ⓘ |
| language |
Objective-C
NERFINISHED
ⓘ
Swift NERFINISHED ⓘ |
| partOf | SpriteKit physics engine NERFINISHED ⓘ |
| platform |
iOS
ⓘ
macOS ⓘ tvOS NERFINISHED ⓘ watchOS NERFINISHED ⓘ |
| property |
affectedByGravity
ⓘ
allowsRotation ⓘ angularDamping ⓘ angularVelocity ⓘ area ⓘ categoryBitMask ⓘ charge ⓘ collisionBitMask ⓘ contactTestBitMask ⓘ density ⓘ fieldBitMask ⓘ friction ⓘ isDynamic ⓘ isResting ⓘ joints ⓘ linearDamping ⓘ mass ⓘ pinned ⓘ restitution ⓘ usesPreciseCollisionDetection ⓘ velocity ⓘ |
| supportsBehavior |
dynamic body
ⓘ
kinematic-like body via isDynamic flag ⓘ static body ⓘ |
| usedFor |
2D physics simulation
ⓘ
collision detection ⓘ contact detection ⓘ defining physical properties of SKNode ⓘ rigid body dynamics ⓘ |
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.