nis/maxwellintro.lua
12131415161718
dat.maxwell = SpawnPrefab("maxwell")
local pt = Vector3(dat.wilson.Transform:GetWorldPosition()) + TheCamera:GetRightVec()*4
dat.maxwell.Transform:SetPosition(pt.x,pt.y,pt.z)
dat.maxwell:FacePoint(Vector3(dat.wilson.Transform:GetWorldPosition()))
dat.maxwell:Hide()
--zoom in
12131415161718
dat.maxwell = SpawnPrefab("maxwell")
local pt = Vector3(dat.wilson.Transform:GetWorldPosition()) + TheCamera:GetRightVec()*4
dat.maxwell.Transform:SetPosition(pt.x,pt.y,pt.z)
dat.maxwell:FacePoint(dat.wilson.Transform:GetWorldPosition())
dat.maxwell:Hide()
--zoom in