This file contains hidden or 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
FHitResult HitResult; | |
FVector WorldCenter = Mesh->GetComponentLocation(); // Get the center of the meshFVector | |
SweepExtent = Mesh->GetStaticMesh()->GetBounds().BoxExtent; // Get the extent of the meshFRotator | |
ActorRotation = Mesh->GetComponentRotation(); // Get the rotation of the meshFQuat | |
QuatRotation = FQuat(ActorRotation); // Convert the rotation to a quaternion | |
SweepExtent += FVector(5.0f, 5.0f, 5.0f); // Add a little extra to the extent | |
FCollisionQueryParams QueryParams; |
This file contains hidden or 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
SweepExtent += FVector(5.0f, 5.0f, 5.0f); // Add a little extra to the extent |
This file contains hidden or 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
FVector WorldCenter = Mesh->GetComponentLocation(); // Get the center of the mesh | |
FVector SweepExtent = Mesh->GetStaticMesh()->GetBounds().BoxExtent; // Get the extent of the mesh | |
FRotator ActorRotation = Mesh->GetComponentRotation(); // Get the rotation of the mesh | |
FQuat QuatRotation = FQuat(ActorRotation); // Convert the rotation to a quaternion | |
FCollisionShape BoxCollision = FCollisionShape::MakeBox(SweepExtent); | |
GetWorld()->SweepSingleByChannel(HitResult, WorldCenter, WorldCenter, QuatRotation, ECC_WorldStatic, BoxCollision, QueryParams); |
This file contains hidden or 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
FVector WorldCenter = Mesh->GetComponentLocation(); // Get the center of the mesh | |
FVector SweepExtent = Mesh->GetStaticMesh()->GetBounds().BoxExtent; // Get the extent of the mesh | |
FCollisionShape BoxCollision = FCollisionShape::MakeBox(SweepExtent); | |
GetWorld()->SweepSingleByChannel(HitResult, WorldCenter, WorldCenter, FRotator(), ECC_WorldStatic, BoxCollision, QueryParams); | |
DrawDebugBox(GetWorld(), WorldCenter, SweepExtent, FRotator(), FColor::Red, false, 2.0f); // Draw a debug box around the mesh |
This file contains hidden or 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
FCollisionShape BoxCollision = FCollisionShape::MakeBox(SweepExtent); | |
GetWorld()->SweepSingleByChannel(HitResult, WorldCenter, WorldCenter, QuatRotation, ECC_WorldStatic, BoxCollision, QueryParams); |
This file contains hidden or 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
---- Minecraft Crash Report ---- | |
// Hey, that tickles! Hehehe! | |
Time: 2025-03-22 19:31:16 | |
Description: Initializing game | |
net.minecraftforge.fml.ModLoadingException: TheFakePlayer (thefakeplayer) encountered an error during the common_setup event phase | |
§7java.lang.NullPointerException: Registry Object not present: thefakeplayer:fake_player_entity | |
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.javafmlmod.FMLModContainer.acceptEvent(FMLModContainer.java:188) ~[javafmllanguage-1.21.4-54.1.3.jar:54.1.3] | |
at LAYER PLUGIN/[email protected]/net.minecraftforge.fml.ModLoader.lambda$postEvent$15(ModLoader.java:373) ~[fmlcore-1.21.4-54.1.3.jar:1.0] |
This file contains hidden or 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
transform.position = new Vector3(transform.position.x, spawnHeight, transform.position.z); // Set the player's position to the new spawn height | |
transform.Rotate(new Vector3(180, 0, 0)); // Rotate the player to the new world | |
rb.gravityScale = -rb.gravityScale; // Invert the gravity scale of the player |
This file contains hidden or 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
("A","B","C","D","E","F","G","H","I","J","K","L","M","O","P","Q","R","S","T","U","V","W","X","Y","Z","Left","Up","Down","Right","Zero","One","Two","Three","Four","Five","Six","Seven","Eight","Nine","NumPadZero","NumPadOne","NumPadTwo","NumPadThree","NumPadFour","NumPadFive","NumPadSix","NumPadSeven","NumPadEight","NumPadNine","Multiply","Add","Subtract","Decimal","Divide","BackSpace","Tab","Enter","Pause","NumLock","ScrollLock","CapsLock","Escape","SpaceBar","PageUp","PageDown","End","Home","Insert","Delete","F1","F2","F3","F4","F5","F6","F7","F8","F9","F10","F11","F12","LeftShift","RightShift","LeftControl","RightControl","LeftAlt","RightAlt","LeftCommand","RightCommand","Semicolon","Equals","Comma","Underscore","Period","Slash","Tilde","LeftBracket","Backslash","RightBracket","Quote","MouseX","MouseY","MouseScrollUp","MouseScrollDown","MouseWheelSpin","LeftMouseButton","RightMouseButton","MiddleMouseButton","ThumbMouseButton","ThumbMouseButton2") | |
(A,B,C,D,E,F,G,H,I,J,K,L,M,O,P,Q,R,S,T,U,V,W,X,Y,Z,Left,Up,Do |
This file contains hidden or 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
import pip | |
import os | |
os.environ["SUNO_OFFLOAD_CPU"] = "True" | |
os.environ["SUNO_USE_SMALL_MODELS"] = "True" | |
try: | |
import openai | |
except: | |
os.system("pip install openai") |
This file contains hidden or 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
Log file open, 09/08/24 17:18:04 | |
LogWindows: Failed to load 'aqProf.dll' (GetLastError=126) | |
LogWindows: File 'aqProf.dll' does not exist | |
LogProfilingDebugging: Loading WinPixEventRuntime.dll for PIX profiling (from ../../../Engine/Binaries/ThirdParty/Windows/WinPixEventRuntime/x64). | |
LogWindows: Failed to load 'VtuneApi.dll' (GetLastError=126) | |
LogWindows: File 'VtuneApi.dll' does not exist | |
LogWindows: Failed to load 'VtuneApi32e.dll' (GetLastError=126) | |
LogWindows: File 'VtuneApi32e.dll' does not exist | |
LogWindows: Custom abort handler registered for crash reporting. | |
LogCore: Display: UnrealTraceServer: Unable to launch the trace store with '"../../../Engine//Binaries/Win64/UnrealTraceServer.exe" fork' (00000002) |
NewerOlder