If you are using CBaseEntity::Teleport() do you get the same issue when you
try SetAbsOrigin?

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Christopher
Harris
Sent: Monday, October 01, 2007 9:05 AM
To: hlcoders@list.valvesoftware.com
Subject: [hlcoders] Vehicles when teleported lose all speed builtup.

This is a multi-part message in MIME format.
--
[ Picked text/plain from multipart/alternative ]
Essentially when you teleport a vehicle with CBaseEntity::Teleport it will
lose all of its speed and essentially have to start going again from 0
velocity, current rpms etc.

This is a major problem for us because we are using the teleport to snap
vehicles that are not being controlled by a person in the game to where they
should be. Essentially these special vehicles get a waypoint from a special
packet that can be sent by either a log file or some other application. We
try to get the vehicle there efficiently and it works quite fine for
straight motion, but when we turn we usually end up getting behind and so we
have to teleport to where we should be. It appears the VehicleController
does not like teleports... Unfortunately you can only get the operating
parameters for viewing and not for changing and so I have yet to see a way
to directly influence a vehicle's movement directly rather than through
control parameters.

Does anyone know a way to maintain the vehicles operating params when
performing a teleport?

Chris
--


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders



_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to