[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
[Monthly Archives]
[List Home]
Re: [Virtools] looking for rotatio parameters.
- Subject: Re: [Virtools] looking for rotatio parameters.
- From: "Tomas Sala" <tomas@littlechicken.nl>
- Date: Tue, 23 Apr 2002 18:29:56 +0200
perhaps you can make an field of view
object, like a flattened cone, for both the head and the
eyes.
then test collision for the head fov cone and for
the eyex (the eyes should be wider than the head, i'm not talking scientific fov
cones. ) then if you'r target object is inside of collides with the eyes field
of view cone. the eyes perform a lookat BB at say 10 percent
following speed
(which is pretty fast) a little later the when the
object collides with the head fov cone, it will also lookat , but only with a 1
% following speed.
so the eyes catch the target first to be later and
more slowly followed by the head..
using just collision detection BB and lookat,,
avoiding all the nasty maths..
hope this is something like you'r
describing..
regards
tomas sala
----- Original Message -----
Sent: Monday, April 22, 2002 2:08 PM
Subject: Re: [Virtools] looking for rotatio
parameters.
> I suppose the "Get Euler Angles" parameter operation can help (In1 :
3d Entity (body part), In2 : 3d Entity (frame, assuming NULL/none) , Out : Euler
Angles)
> u should be able to choose among body part with the parameter
input of the parameter operation.
>
> Note: there is the
Logic/Calculator/Op building block, which can contain a parameter operation
too
>
> assuming Y is the up vector of the char, if the 2nd angle
is greater than XX or less than -XX for head for instance, then rotate
body.
>
>
> 4/22/2002 1:35:41 PM, "pallamin nico"
<pallamin@irit.fr> wrote:
>
> >hi
> >I'm using the look-at BB to having the head of a
caracter looking at
> >another.
> >What i would like to have
is to having the caracter behaving in a human like
> >way, so following
the caracter with the eyes till is possible, then turning
> >the head
if the angle of rotation of the eyes is to big, than the body when
>
>even turning the head is not enought(without having effects like in
the
> >exorcist movie)
> >so the question, there is a way to
extract the information of an object
> >rotation (for use it to start
rotating other body parts when too big)??
> >probably with parameters
but i still haven't find exactly how it works
> >
>
>bye
> >Nico
> >
>
>
>
>
...............................................................
>
Distributed via the virtools-user-group list: http://www.theswapmeet.com/numl.html
> To reply to the list instead of its author, use "Reply to
All"
> To unsubscribe: send "unsubscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
> To subscribe: send "subscribe virtools-user-group" to Majordomo@lists.theswapmeet.com
> To post a message: send it to virtools-user-group@lists.theswapmeet.com
>
...............................................................

References: