These forums are CLOSED. Please visit the new forums HERE
Choppy movement |
|
SirFency Blackheart
Registered User
Join date: 6 Jan 2009
Posts: 81
|
07-27-2009 10:17
I was hoping someone could explain to me what is going on. I built an RC car and it drives really choppy. Its acting like I press the forward button then release it then press it again then release it. I don't know if its the fault of my script or if its just the way SL works. I would love to have this thing drive around smooth. Could someone let me know please?
|
Void Singer
Int vSelf = Sing(void);
![]() Join date: 24 Sep 2005
Posts: 6,973
|
07-27-2009 11:38
it all depends on the logic you gave it (well not ALL there is always some choppiness in SL physics) for isntance if you constantly tell the motor to apply acceleration on each firing of the control event (instead of when the control event changes)
_____________________
|
| . "Cat-Like Typing Detected" | . This post may contain errors in logic, spelling, and | . grammar known to the SL populace to cause confusion | | - Please Use PHP tags when posting scripts/code, Thanks. | - Can't See PHP or URL Tags Correctly? Check Out This Link... | - |
Darien Caldwell
Registered User
![]() Join date: 12 Oct 2006
Posts: 3,127
|
07-27-2009 11:53
If you're using llSetPos or llSetPrimitiveParams to move it, the built in delay for the function could cause choppiness.
_____________________
|
SirFency Blackheart
Registered User
Join date: 6 Jan 2009
Posts: 81
|
08-06-2009 13:22
If you're using llSetPos or llSetPrimitiveParams to move it, the built in delay for the function could cause choppiness. It looks like there is a function called llSetPos in the script. How do I get around this issue? is there another function that I can use instead? |
Ruthven Willenov
Darkness in your light
Join date: 16 Jan 2008
Posts: 965
|
08-06-2009 13:24
as darien said, llSetpos has a delay in it, what you probably want to use is a physical vehicle script, it runs much smoother
_____________________
Dark Heart Emporium
http://www.xstreetsl.com/modules.php?name=Marketplace&MerchantID=133020 want more layers for tattoos, specifically for the head? vote here http://jira.secondlife.com/browse/VWR-1449? llDetectedCollision* Functions similar to touch http://jira.secondlife.com/browse/SVC-3369 |