SpriteKit

RSS for tag

Drawing shapes, particles, text, images, and video in two dimensions using SpriteKit.

SpriteKit Documentation

Posts under SpriteKit subtopic

Post

Replies

Boosts

Views

Activity

How can I give an SkSpriteNode an initial push?
I have an SkSpriteNode (ball) in a box. Gravity is set to false, otherwise it has an SkPhysicsBody to bounce off of walls. Is there a method to give the ”ball” an initial push in a specified direction and velocity/strength wise?
Replies
1
Boosts
0
Views
463
Activity
Oct ’21