What do you want to save?
Add Code snippet
New code examples
-
C# 2022-03-27 22:40:23
c# movement script
using UnityEngine; using System.Collections; // This script moves the character controller forward // and sideways based on the arrow keys. // It also jumps when pressing space. // Make sure to attach a character controller to the same game object. // It... Add solution -
C++ 2022-03-27 12:15:21
find the graph is minimal spanig tree or not
#include <iostream> #include <vector> #include <utility> #include <algorithm> using namespace std; const int MAX = 1e4 + 5; int id[MAX], nodes, edges; pair <long long, pair<int, int> > p[MAX]; void initialize() { ... Add solution -
Other 2022-03-27 10:45:04
godot platformer movement
extends KinematicBody2D # The player is a kinematic body, hence extends Kine.. # Adjustable variables of the player # export is used to allow to edit the values outside the script export var speed = 500 # The speed of the character export var gravity = 3... Add solution -
Other 2022-03-27 08:20:18
basic java interview questions
There are many questions that can be made to test your java knowledge, like the ones below: Explain JDK, JRE and JVM? Explain public static void main(String args[]) in Java Why Java is platform independent? Why Java is not 100% Object-oriented? What are ... Add solution -
C# 2022-03-25 10:50:20
unity how to move an object to another object
// 3D transform.position = new Vector3(GameObject.Find("Object").transform.position.x, GameObject.Find("Object").transform.position.y, GameObject.Find("Object").transform.position.z); // 2D transform.position = new Vector2(G... Add solution -
Lua 2022-03-25 05:45:17
function parameters roblox
function generatePart(isAnchored, transpareny, canCollide, name) local part = Instance.new("Part") part.Name = name part.Anchored = isAnchored part.Transparency = transpareny part.CanCollide = canCollide part.Position = Vector3.new(0,15,0)... Add solution
Best helpers
Ranking is empty