About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
Input simulation
Author Message
Dynad Offline
Member

Post: #1
Input simulation
Hey,

I am making a client/server, and i want to update the positions on the server with something like this:

PHP Code:
    if(dir == 0// forward
        
T.input.diri  .a;
    if(
dir == 1//left/right
        
T.input.diri  .a

Is it possible to use input controller without making an object like:

PHP Code:
Matrix matrixmatrix.setScalePos(1.0,Vec(0,0,0));
    
T.create(0.451.8matrix, *Meshs("obj/chr/masterchief/0.mesh"), *Skeletons("obj/chr/masterchief/0.skel")); 


Thnx,
~Dynad

There is always evil somewhere, you just have to look for it properly.
02-21-2010 09:38 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: Input simulation
yes you can use Controller and manually draw the character mesh in the controller location, altough I dont recommend it as it requires writing lots of codes.
02-22-2010 04:50 PM
Find all posts by this user Quote this message in a reply
Dynad Offline
Member

Post: #3
RE: Input simulation
Thnx Esenthel, but i have found another way to solve my problem.

There is always evil somewhere, you just have to look for it properly.
02-22-2010 05:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply