How to remove a BulletRigidBodyNode?

def emit(self):
	shape = BulletSphereShape(0.02)
	coin = BulletRigidBodyNode('coin')
	coin.setMass(0.01)
	coin.addShape(shape)
	coin.setLinearVelocity((-10,0,-1))
	np = render.attachNewNode(coin)
	np.setPos(self.avatar.getPos()+(0,0,1))
	base.world.attachRigidBody(coin)
	# 使用间隔来移除硬币
	Sequence(Wait(10),Func(coin.remove)).start()

I want to the coin be removed after seconds, but I not understand remove method.

You need to call world.removeRigidBody(body). The following manual page has example code - it’s not a coin but a bullet which gets remove after 1 second:
panda3d.org/manual/index.ph … _Detection

removeRigidBody, Thank you!