Skip to content

'Sphere' object has no attribute 'intersectsSphere' #15

@dronov-dmitry

Description

@dronov-dmitry

When i run TestCollisionDetection.py
It wright me:
'Sphere' object has no attribute 'intersectsSphere'

Full error text is :

Hello from the pygame community. https://www.pygame.org/contribute.html Traceback (most recent call last): File "c:/Users/Admin/Documents/MEGAsync/06_All/14_JS/02_PythonJS/three.py-master/three.py-master/three.py/TestCollisionDetection.py", line 95, in <module> TestCollisionDetection().run() File "c:\Users\Admin\Documents\MEGAsync\06_All\14_JS\02_PythonJS\three.py-master\three.py-master\three.py\core\Base.py", line 76, in run self.update() File "c:/Users/Admin/Documents/MEGAsync/06_All/14_JS/02_PythonJS/three.py-master/three.py-master/three.py/TestCollisionDetection.py", line 71, in update if mesh.overlaps(self.Mesh1): File "c:\Users\Admin\Documents\MEGAsync\06_All\14_JS\02_PythonJS\three.py-master\three.py-master\three.py\physics\ComponentMesh.py", line 20, in overlaps overlaps = (self.componentDict["Sphere"].intersectsSphere(other.componentDict["Sphere"])) AttributeError: 'Sphere' object has no attribute 'intersectsSphere'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions