Ok im finally learning how to ass collision shapes so i have a sphere for my ship that shows up fine:
I put this in the init for the ship:
self.collisionBounds = CollisionSphere(0, 0, 0, 100)
and then i put this in the shipRender method:
# setting up colision detection shape
self.collisionShape = self.ship.attachNewNode(CollisionNode('collisionShape'))
self.collisionShape.node().addSolid(self.collisionBounds)
self.collisionShape.show()
So this showed up perfectly when i did self.collisionShape.Show
I did almost the exact same thing for my planet’s sphere and made it big enough so it wouldnt be inside the planet (the only thins i changed was
self.collisionShape = self.ship.attachNewNode(CollisionNode('collisionShape'))
To this:
self.collisionShape = self.sphere.attachNewNode(CollisionNode('collisionShape'))
I dont know why it wouldnt show up and i have been trying everything