I didn't know you could attach constraints to players. I've tried it before
and it didn't work. Are you sure this is how the barnacle works in
HL:Source?

I know the player's physics object is special and only responds when
interacting with other physics objects or something like that. I've seen it
explained here before, but I'm not entirely sure on the details.

I don't think you're going to be able to do it with physics constraints.

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Harwood
Sent: Tuesday, November 11, 2008 3:14 AM
To: [email protected]
Subject: [hlcoders] Barnacle/Player physics

Hi everyone..

 

I've come across an issue where I want to clone basically what the
Barnacle does (suck a player up) but just can't quite get the magic
right; the Barnacle logic seems simple, create two entities, one fixed,
constrained by a spring, place a fixed constraint between player and
tongue tip then simply change the length of the spring to drag the
player. I have successfully replicated the tongue tip entities and
created the spring between them etc, however as soon as I try to attach
the player with the fixed constraint the effect I see is that the tongue
tip follows the player around and player movement is completely
unaffected.. what am I missing here?

 

Related: are there any gotchas related to doing this in multiplayer?
(I'm thinking in terms of view jerk/noise on the client related to
gravity prediction). I assume if there is this was resolved in L4D for
the tongue zombie?

 

 

Thanks in advance,

 

Rob

 


_____________________________________________________________________
This email is intended solely for the addressee(s) and the information it
contains is confidential. If you are not the intended recipient (a) please
delete this email and inform the sender as soon as possible, and (b) any
copying, distribution or other action taken or omitted to be taken in
reliance upon it is prohibited and may be unlawful. This message has been
checked for all known viruses by the MessageLabs Virus Control Centre.
_______________________________________________
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