Thaumaturge:
Otherwise, to what degree have you used the collision system thus far? If this is one of your first uses of it, then perhaps, in order to reduce the number of complexities clouding matters, it might help to start with simpler, more foundational applications of it and work up from there
I started to gain interest in collision on Panda3D a week ago (mostly because I know everything else). I have worked with collision since then, like you helped me in this one:
Hi! I am making an First Person controller game in the grassy environment from the Hello World program.
I already made a CollisionInvSphere Solid around the environment so that the player doesn’t fall off, but I can’t figure out the radius of the camera to create a CollisionSphere around the camera.
I tried:
camRad = base.camera.getBounds().getRadius()
But I am getting this error:
Assertion failed!: !is_empty() at line 48 of c:\buildslave\sdk-windows-amd64\build\panda\src\mathutil\boundin…
But this is the first time I am using mouse clicking.
1 Like