Apple Game Frameworks and Technologies: Need to add PhysicsComponent to Val

Title: Apple Game Frameworks and Technologies: Need to add PhysicsComponent to Val (Chapter 12)

After working through the code in Chapter 12, Val was walking right through walls.

I finally sorted out that I didn’t add a PhysicsComponent to the player node (bodyCatgory: player, bodyshape:circle) in the GameScene.sks

If it’s in the text of the chapter somewhere, I’ve not been able to spot it after quite a lot of review of chapter 12.

(Apologies if this is just another thing I missed)

Ummm… never mind… just saw where there instructions (bottom pf page 291) (while researching something else I’ve gotten wrong) :frowning:

Hey, Mike!

Glad to see that you got it all worked out.

1 Like