sliding across the floor

If you feel like you're up to the challenge of building your own Ages in Blender or 3ds Max, this is the place for you!

sliding across the floor

Postby andylegate » Wed Nov 28, 2007 2:33 pm

Uhm, I looked through the forum here but didn't see this really talked about.

In my little office Age I'm creating, my avie slides across the floor......like when wearing socks only on a freshly waxed floor, wheeeeee!

Don't want that though, and I went through the Alcug's and didn't see it either (or I missed it).

I've got the floor meshes string set to col_type = 4 so I don't fall through of course.

So, while sliding is kinda cool, I'd like to get some traction here. Any suggestions?
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: sliding across the floor

Postby Trylon » Wed Nov 28, 2007 3:11 pm

Uhm, you're probably using the pyprp-stable-0.5 version, right?

Add a logic property called "rc" (float) and set the value up pretty high, like 10 or something.
Now the sliding is at least a lot less.

Secondly, to get rid of sliding compleately, add a string logic property called "col_flags5" and set it's value to 00000044.
Now sliding should be done with compleately.
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: sliding across the floor

Postby andylegate » Wed Nov 28, 2007 3:25 pm

I'm using whatever the "latest" PyPRP version there is.

Can I add both properties? I mean I'll give it a try, but to test it out, I've got to export the Age, move the files, load up Uru, and finally link in (whew!).

Again, they don't mention this in the tut's, is it a problem or bug with the latest version of PyPRP? Just curious.

And thanks Trylon for all your help! :D
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: sliding across the floor

Postby Trylon » Wed Nov 28, 2007 3:42 pm

Hm, the latest version *should* give you a friction level of 10.0 by default. Maybe a bug :)
But, yes, you can surely add both properties at the same time.

It isn't a bug by the way, it's normal and expected (well, for earlier versions it was anyway) behaviour.
Adding a physical surface without additional settings, sets default properties, and the default property for friction was 0, aka no friction, so you're sliding around.

This is ofcourse terribly annoying behaviour, so it's gonna change in PyPRPs next overhaul.
One day I ran through the cleft for the fiftieth time, and found that uru held no peace for me anymore.
User avatar
Trylon
 
Posts: 1446
Joined: Fri Sep 28, 2007 11:08 pm
Location: Gone from Uru

Re: sliding across the floor

Postby Nadnerb » Wed Nov 28, 2007 3:42 pm

It is neither a bug, nor a problem, but merely an omission in the tutorials. The col_flags5 00000044 value "disables friction" which means no sliding, any other (finite) friction value will leave you with some amount of sliding.
Image
Live KI: 34914 MOULa KI: 23247 Gehn KI: 11588 Available Ages: TunnelDemo3, BoxAge, Odema
Nadnerb
 
Posts: 1057
Joined: Fri Sep 28, 2007 8:01 pm
Location: US (Eastern Time)

Re: sliding across the floor

Postby andylegate » Wed Nov 28, 2007 4:29 pm

Great! I added the properties, and tested it out, no sliding now!

Thanks for the help guys!

Now waiting on my answer to PlasmaShop, heheheh.
"I'm still trying to find the plKey for Crud!"
Image
Blender Age Creation Tutorials
3DS Max Age Creation Tutorials
User avatar
andylegate
 
Posts: 2348
Joined: Mon Oct 01, 2007 7:47 am

Re: sliding across the floor

Postby Chacal » Wed Nov 28, 2007 11:32 pm

Winter has started here in Quebec City and the roads are like a skating ring. We need some 00000044 in our col_flags5.
Chacal


"The weak can never forgive. Forgiveness is an attribute of the strong."
-- Mahatma Gandhi
User avatar
Chacal
 
Posts: 2515
Joined: Tue Nov 06, 2007 2:45 pm
Location: Quebec, Canada


Return to Building

Who is online

Users browsing this forum: No registered users and 1 guest