wierd type problem...

Blitz3D Forums/Blitz3D Programming/wierd type problem...

hi all, i am writing a small space combat game type thing and i was trying to do a smart camera thing. every frame a new type Vector3 is made that logs the ships position at that time, when the ship is a certain distance from the camera the camera starts going through these points following the ship but i have run into a very strange problem with types and i could really use some help... i am not a novice at typs yet i have no idea why this is not working

Function PopCamera(this.Ship)
	v.Vector3 = First Vector3
	PositionEntity Camera,v\x,v\y,v\z
	PointEntity Camera,this\Model
	Delete v
End Function


without the delete v the code works but with it it seems to delete the this\Model a blitz .x model but it does not touch the ships type!!!!!


thanks for any help :D
bye