ac6286193f
boat simulator. You can drive, fly or sail in total freedom in an open environment. What makes RoR different to most simulators is its unique soft-body physics: vehicles chassis and wheels are simulated in real-time as flexible objects, giving the simulation an extremely accurate behavior, while allowing the vehicles to be simply specified by their structural composition, as a network of interconnected nodes (forming the chassis and the wheels). Crashing into walls or terrain can permanently deform a vehicle in a realistic manner. In addition to its unique soft-body physics, RoR also features an advanced flight model based on blade element theory, allowing the accurate simulation of any airplane, base on their physical dimensions and wing airfoils. It also features an accurate buoyancy model based on elemental pressure gradients, enabling boats with complex hulls to move realistically in the swell. WWW: http://www.rigsofrods.com/
16 lines
406 B
Bash
16 lines
406 B
Bash
#!/bin/sh
|
|
|
|
RORDIR=%%PREFIX%%/lib/rigsofrods
|
|
DOTDIR=$HOME/.RigsOfRods
|
|
|
|
if [ ! -e "$DOTDIR" ]; then
|
|
echo "Populating $DOTDIR..."
|
|
cd %%DATADIR%%/skeleton && find . -type d -exec mkdir -p "$DOTDIR/{}" \;
|
|
cd %%DATADIR%%/skeleton && find . -type f -exec cp -n {} "$DOTDIR/{}" \;
|
|
fi
|
|
|
|
LD_LIBRARY_PATH=$RORDIR:$LD_LIBRARY_PATH
|
|
export LD_LIBRARY_PATH
|
|
|
|
cd $RORDIR
|
|
exec %%PREFIX%%/libexec/rigsofrods/rorconfig "$@"
|