Kristen Didero Posted October 10, 2016 Share Posted October 10, 2016 I have a rowboat that I've put a "float on water" script into. It floats great except that it sinks way below the water line when it floats. I've tried playing with the script some but I'm no scripter by any means. I've been trying to figure this out for 3 days and just can't seem to get anywhere. I've put the float script into the linked object...tried putting it into a child prim...tried putting it into a parent prim. Nothing works, it sinks in all cases. Driving me crazy! Any help with what I'm doing wrong? I'd much appreciate any help you can provide! Link to comment Share on other sites More sharing options...
Rolig Loon Posted October 11, 2016 Share Posted October 11, 2016 There are several ways to do that, but perhaps the easiest is to use llSetHoverHeight and set its Water parameter to TRUE. Link to comment Share on other sites More sharing options...
Kristen Didero Posted October 11, 2016 Author Share Posted October 11, 2016 TY Rolig, I'll try that. Does it make any difference as to where I put the script? Should it be in the entire linked object, in a child prim only, in the parent prim only? Link to comment Share on other sites More sharing options...
Rolig Loon Posted October 11, 2016 Share Posted October 11, 2016 Generally, in the root prim. Where you put any script really depends on what you want it to do and how you want it to respond to the environment around it. Especially if your script includes a touch_start or collision_start event, you usually want it to respond to touches or collisions on any part of the object, not just on a child prim. Link to comment Share on other sites More sharing options...
Recommended Posts
Please take a moment to consider if this thread is worth bumping.
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now