Page 1 of 1

sliding across the floor

PostPosted: Wed Nov 28, 2007 2:33 pm
by andylegate
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?

Re: sliding across the floor

PostPosted: Wed Nov 28, 2007 3:11 pm
by Trylon
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.

Re: sliding across the floor

PostPosted: Wed Nov 28, 2007 3:25 pm
by andylegate
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

Re: sliding across the floor

PostPosted: Wed Nov 28, 2007 3:42 pm
by Trylon
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.

Re: sliding across the floor

PostPosted: Wed Nov 28, 2007 3:42 pm
by Nadnerb
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.

Re: sliding across the floor

PostPosted: Wed Nov 28, 2007 4:29 pm
by andylegate
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.

Re: sliding across the floor

PostPosted: Wed Nov 28, 2007 11:32 pm
by Chacal
Winter has started here in Quebec City and the roads are like a skating ring. We need some 00000044 in our col_flags5.