Don't click here unless you want to be banned.

LSL Wiki : llSetForce

HomePage :: PageIndex :: RecentChanges :: RecentlyCommented :: UserSettings :: You are
llSetForce(vector force, integer local);

Sets the force to be continuously applied on the (attached) object. When local is TRUE then force is relative to the object's own (potentially rotated) axes; when FALSE it is relative to the simulator's axes.

The object must be physical for this to take effect. See physics for information on how forces affect physical objects.

If you want only an impulse, use llApplyImpulse instead.

You can also set force and torque simultaneously by using llSetForceAndTorque.

Do not use with vehicles.


To levitate an object, apply an upwards force proportional to its mass. Rez a prim, enable physics, and execute the following in a script:
float mass = llGetMass(); // mass of this object
float gravity = 9.8; // gravity constant
llSetForce(mass * <0,0,gravity>, FALSE); // in global orientation

The prim will now appear weightless and still possess inertia.
Note: With large/very massive objects, the object may not have enough energy to sustain the continuous force and will still fall to the ground.

This article wasn't helpful for you? Maybe the related article at the LSL Portal is able to bring enlightenment.

Functions | Dynamics Jasa SEO Jasa SEO Murah Sepatu Online Toko Sepatu Online Sepatu Sepatu Murah Sepatu Safety Sepatu Futsal Cheapes Hostgator Coupon Link Booking Televisori offerte Notebook Offerte Berita Terkini Internet Marketer Muda Internet Marketer Indonesia Portatile Apple RDAnet Lorks Karikatur Bisnis Modal Kecil Bisnis UKM Berita Terbaru Iklan Baris Jasa SEO Jasa SEO Murah SEO Indonesia Konsultan SEO SEO Belajar SEO Kursus SEO Kursus SEO Murah Jam Tangan Casio Jam Tangan Casio Jam Tangan Murah Jam Tangan Grosir Baju Terbaru Grosir Baju Baju Terbaru Grosir Baju Murah Bisnis Online Belajar SEO Kerupuk Kerupuk kulit Social Bookmark Dofollow Social Bookmark Kumpulan Puisi Kirim Puisi bola hantu Penumbuh Rambut Penumbuh Rambut timbangan WBC Wonogiri Jasa SEO Murah Jasa SEO Jam Tangan Murah
There are 5 comments on this page. [Display comments/form]