Skip to content

Instantly share code, notes, and snippets.

@dacanizares
dacanizares / MovementAIController.cpp
Last active October 29, 2023 20:11
Sample AI Controller - GetRandomReachablePointInRadius - UE4
#include "Test/MovementAIController.h"
#include "Runtime/Engine/Classes/Kismet/GameplayStatics.h"
#include "AI/NavigationSystemBase.h"
#include "NavigationSystem.h"
void AMovementAIController::BeginPlay()
{
Super::BeginPlay();
@samfromcadott
samfromcadott / raylib-bullet.cc
Created June 11, 2023 16:10
Example of using Bullet Physics with raylib
// raylib+Bullet physics
// Sam Jackson
// Partially based off this: https://github.com/bulletphysics/bullet3/blob/master/examples/HelloWorld/HelloWorld.cpp
#include <vector>
#include <btBulletDynamicsCommon.h>
#include <raylib.h>
btDefaultCollisionConfiguration* collision_configuration;