# create body
var body = StaticBody.new()
# create & initialize collision shape
var colShape = CollisionShape.new()
body.add_child(colShape)
# create & add actual shape
var boxShape = BoxShape.new()
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -euo pipefail | |
# Number of CPU threads to use for building | |
# Use `./godot_mingw.sh <number of threads>` to specify | |
THREADS=$1 | |
# Godot Git clone path | |
GODOT_PATH="$HOME/Documents/Git/godotengine/godot" |
Godot engine could be successfully compiled on Windows machine using MinGW toolchain only ( no VS dependencies ). This HOWTO was tested on Windows 10 x64 host.
Here's how you do it.