However, I cant seems to get it to run.
I have tried
var property = new Cesium.SamplePositionProperty();
var position = Cesium.Cartesian3.fromDegrees(data.lon, data.lat)
//*i am not sure what to put for the time variable though, as it should be live feed, how do I go about adding this time variable?*
var time = new.Cesium.JulianDate();
so in the later part in viewer.entities.add,
position : property,
orientation : new Cesium.VelocityOrientationProperty(position),
Correct? what i am doing it wrong? is it the "time" variable that is affecting it?