@name TestWithStuff
@inputs [Pod Cam]:wirelink Seat:entity 
@outputs 
@persist 
@trigger 
interval(15)

local Seat = Pod["Entity",entity]
local Driver = Seat:driver()
local Active = Driver:isPlayer()
local W = Driver:keyForward()
local A = Driver:keyLeft()
local S = Driver:keyBack()
local D = Driver:keyRight()
local Space = Driver:keyJump()
local Shift = Driver:keySprint()
local M1 = Driver:keyAttack1()
local M2 = Driver:keyAttack2()
Cam["Activated", number] = Active

if (first()) {
    holoCreate(0)
    holoPos(0,entity():toWorld(vec(0,50,0)))
    holoParent(0,entity())
    
    holoCreate(1)
}

R = rangerOffset(100,holoEntity(0):pos(),vec(0,0,-1))

holoPos(1,R:pos())
holoAng(1,R:hitNormal():toAngle())

holoAng(0,holoEntity(1):angles())

