parameters: (self, indicator)
docstring: indicator is a NodePath
docstring_summary: indicator is a NodePath
docstring_tokens: indicator is a NodePath
function: def setAvatarPhysicsIndicator(self, indicator):
          """
          indicator is a NodePath
          """
          assert self.debugPrint("setAvatarPhysicsIndicator()")
          self.cSphereNodePath.show()
          if indicator:
              # Indicator Node:
              change = render.attachNewNode("change")
              #change.setPos(Vec3(1.0, 1.0, 1.0))
              #change.setHpr(0.0, 0.0, 0.0)
              change.setScale(0.1)
              #change.setColor(Vec4(1.0, 1.0, 1.0, 1.0))
              indicator.reparentTo(change)
  
              indicatorNode = render.attachNewNode("physVelocityIndicator")
              #indicatorNode.setScale(0.1)
              #indicatorNode.setP(90.0)
              indicatorNode.setPos(self.avatarNodePath, 0.0, 0.0, 6.0)
              indicatorNode.setColor(0.0, 0.0, 1.0, 1.0)
              change.reparentTo(indicatorNode)
  
              self.physVelocityIndicator=indicatorNode
              # Contact Node:
              contactIndicatorNode = render.attachNewNode("physContactIndicator")
              contactIndicatorNode.setScale(0.25)
              contactIndicatorNode.setP(90.0)
              contactIndicatorNode.setPos(self.avatarNodePath, 0.0, 0.0, 5.0)
              contactIndicatorNode.setColor(1.0, 0.0, 0.0, 1.0)
              indicator.instanceTo(contactIndicatorNode)
              self.physContactIndicator=contactIndicatorNode
          else:
              print("failed load of physics indicator")
function_tokens: def setAvatarPhysicsIndicator ( self , indicator ) : assert self . debugPrint ( "setAvatarPhysicsIndicator()" ) self . cSphereNodePath . show ( ) if indicator : # Indicator Node: change = render . attachNewNode ( "change" ) #change.setPos(Vec3(1.0, 1.0, 1.0)) #change.setHpr(0.0, 0.0, 0.0) change . setScale ( 0.1 ) #change.setColor(Vec4(1.0, 1.0, 1.0, 1.0)) indicator . reparentTo ( change ) indicatorNode = render . attachNewNode ( "physVelocityIndicator" ) #indicatorNode.setScale(0.1) #indicatorNode.setP(90.0) indicatorNode . setPos ( self . avatarNodePath , 0.0 , 0.0 , 6.0 ) indicatorNode . setColor ( 0.0 , 0.0 , 1.0 , 1.0 ) change . reparentTo ( indicatorNode ) self . physVelocityIndicator = indicatorNode # Contact Node: contactIndicatorNode = render . attachNewNode ( "physContactIndicator" ) contactIndicatorNode . setScale ( 0.25 ) contactIndicatorNode . setP ( 90.0 ) contactIndicatorNode . setPos ( self . avatarNodePath , 0.0 , 0.0 , 5.0 ) contactIndicatorNode . setColor ( 1.0 , 0.0 , 0.0 , 1.0 ) indicator . instanceTo ( contactIndicatorNode ) self . physContactIndicator = contactIndicatorNode else : print ( "failed load of physics indicator" )