generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripters
Home Search
 

Re: Realistic animations for Roblox.

Previous Thread :: Next Thread 
nairod7 is not online. nairod7
Joined: 26 Mar 2010
Total Posts: 869
01 Jun 2013 05:30 PM
Hello,

If we were able to get the relative position of an object to our computer, a little bit like the wiimote and the wii, we could make more realistic animations. What do you think? Someone can do this?
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
01 Jun 2013 05:32 PM
My laptop can probably be controlled via a wiimote, it has the technology to do so.
So it may be possible if anybody knows anything more about this.
Report Abuse
nairod7 is not online. nairod7
Joined: 26 Mar 2010
Total Posts: 869
01 Jun 2013 05:38 PM
If you can find a way to record the motion of your arms, your legs and your body, and translate all the coordinates in order to use them in roblox, you'd be able to do kewl animations.
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
01 Jun 2013 05:39 PM
So, motion capture? That would be an interesting thing to do! Kinect would be the most readily available recorder that would be able to capture the movements of a human.
Report Abuse
BAUER102 is not online. BAUER102
Joined: 03 Apr 2010
Total Posts: 5936
01 Jun 2013 05:46 PM
Is there a released API for kinect?
Report Abuse
BlueTaslem is not online. BlueTaslem
Joined: 11 May 2008
Total Posts: 11060
01 Jun 2013 05:52 PM
Yes, though I don't think it's from Microsoft.
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
01 Jun 2013 05:55 PM
I've found the drivers it requires that will work with windows. Or should.
Actually capturing it and using it maybe more difficult.
Report Abuse
nairod7 is not online. nairod7
Joined: 26 Mar 2010
Total Posts: 869
01 Jun 2013 06:10 PM
For now, as a test, you can just make parts and link them with raycasting.
I wonder if Sorcus can do this for his gears... or stravant.
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
01 Jun 2013 06:21 PM
I've been wanting to use Kinect for this for quite a while. Problem is I don't own a Kinect.
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
01 Jun 2013 06:25 PM
Never thought Kinect was as precise.
Report Abuse
ArceusInator is not online. ArceusInator
Joined: 10 Oct 2009
Total Posts: 30553
01 Jun 2013 06:27 PM
It isn't, but it's more precise than doing it by hand.
Report Abuse
popinman322 is not online. popinman322
Joined: 04 Mar 2009
Total Posts: 5184
01 Jun 2013 06:43 PM
Seven wiimotes and you can do it.
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
01 Jun 2013 07:05 PM
Seven? I was going to use 10 remotes.
Two on each leg, two on each arm, one on the back and one on the neck/head.
Report Abuse
LPGhatguy is not online. LPGhatguy
Forum Moderator
Joined: 27 Jun 2008
Total Posts: 4725
01 Jun 2013 07:33 PM
Why not just use a regular camera and little brightly colored balls or something?
Report Abuse
nairod7 is not online. nairod7
Joined: 26 Mar 2010
Total Posts: 869
01 Jun 2013 07:37 PM
It would work only in 2D. To make a 3D one, you'll need at least 3 Camera: one front of you, and two on your sides. But this is more difficult to get positions and distances.
Report Abuse
woot3 is not online. woot3
Joined: 10 Nov 2008
Total Posts: 3599
01 Jun 2013 08:17 PM
Actually, in my opinion if you set it up in a square based area it may be easier to calculate. For me anyway.

However, I only have two cameras and not three,
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
01 Jun 2013 08:26 PM
The new kinect thats coming with the xcrap one is said to be ten times more accurate than the first one.
Report Abuse
GigsD4X is not online. GigsD4X
Joined: 06 Jun 2008
Total Posts: 3794
01 Jun 2013 08:34 PM
I've been working on this by using Blender-style camera tracking with three cameras and markers on key parts of my body that could translate to ROBLOXian humanoid body parts and communicating data to the client by intercepting requests with Fiddler that contain:

http://www.roblox.com/Game/Tools/InsertAsset.ashx?type=fm&q=F3XServer

Which are made by InsertService::GetFreeModels and just append whatever string you give it after &q= such that you can add other GET parameters (such as the &data parameter which I'm using to pass any special information that the program needs to know and the &t parameter as a cache buster). Then, you can return any data to the client as long as it's in the following format (note: it's XML & the forums block the lt/gt characters so I replaced them with brackets):

[List][Value][Table][Entry][Key]Results[/Key][Value][List][Value][Table][Entry][Key]Name[/Key][Value](the data here)[/Value][/Entry][Entry][Key]AssetId[/Key][Value]13371337[/Value][/Entry][Entry][Key]AssetVersionId[/Key][Value]13371337[/Value][/Entry][Entry][Key]CreatorName[/Key][Value]F3XTeam[/Value][/Entry][/Table][/Value][/List][/Value][/Entry][Entry][Key]TotalCount[/Key][Value]1[/Value][/Entry][Entry][Key]CurrentStartIndex[/Key][Value]1[/Value][/Entry][/Table][/Value][/List]

So you can basically do:

game.InsertService:GetFreeModels("F3XServer&data=" .. urlencode(RbxUtility.EncodeJSON(Payload)) .. "&t=" .. tick(), 1)[1].Results[1].Name;

And it returns any data, which in this case is just CFrame data from an external program that calculates everything from the cameras.

So far, it sucks pretty badly, but it's getting somewhere.
Report Abuse
testedmarkel62 is not online. testedmarkel62
Joined: 25 Nov 2009
Total Posts: 4291
01 Jun 2013 10:59 PM
It's a nice idea, and there is a kinect for PC. But actually capturing it and using it? Eh...

Oh, and, reported for spam.
Report Abuse
coplox is not online. coplox
Joined: 07 Jun 2008
Total Posts: 3252
01 Jun 2013 11:01 PM
I know this isn't going to help with anims for characters, but it could if you knew what to do...

I'm talking about the Leap Motion.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image