All pastes #738498 Raw Edit

Anonymous

public c v1 · immutable
·published 2007-10-16 11:32 UTC
rendered paste body
	Method attachObjectToBone:TTagPoint(boneName:String, pMovable:TMovableObject, offsetOrientation:TQuaternion = Null, offsetPosition:TVector3 = Null) 		'Workaround because of a BlitzMax limitation-		If offsetOrienation = Null Then offsetOrienation = TQuaternion.Create(1.0, 0.0, 0.0, 0.0) 		If offsetPosition = Null Then offsetPosition = TVector3.CreateEmpty() 				Local Obj:TTagPoint = New TTagPoint		Obj.Pointer = ENT_attachObjectToBone(boneName.ToCString() , pMovable.Pointer, _offsetOrientation.Pointer, offsetPosition.Pointer, Self.Pointer) 		Return Obj	End Method