All pastes #422990 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-03 21:03 UTC
rendered paste body
	# Get the NAME, LOC and VEC in an array for all objects in the swarm
	STATE['SWARM'] = [{
		'NAME': ob.getName(),
		'LOC': Mathutils.Vector(ob.loc),
		'ROT': ob.getEuler(),
		'VEC':GetStartVector(ob),
		'IPO':GetStartIpo(ob),
		'TARVEC':0,
		'TARLOC':0
	} for ob in Object.GetSelected()];