{"id":25553,"date":"2024-10-08T22:56:18","date_gmt":"2024-10-08T13:56:18","guid":{"rendered":"http:\/\/www.tyosuke20xx.com\/blog\/?p=25553"},"modified":"2024-10-08T22:56:21","modified_gmt":"2024-10-08T13:56:21","slug":"%e3%83%86%e3%83%ac%e3%83%9d%e3%83%bc%e3%83%86%e3%83%bc%e3%82%b7%e3%83%a7%e3%83%b3%e3%81%ae%e3%82%84%e3%82%8a%e6%96%b9","status":"publish","type":"post","link":"http:\/\/www.tyosuke20xx.com\/blog\/?p=25553","title":{"rendered":"\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u3084\u308a\u65b9"},"content":{"rendered":"\n<p>\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u3084\u308a\u65b9<\/p>\n\n\n\n<h6 class=\"wp-block-heading\">ChatGPT:<\/h6>\n\n\n\n<p>ChatGPT<\/p>\n\n\n\n<p>\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u65b9\u6cd5\u306f\u3001\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30f3\u3084\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u74b0\u5883\u306b\u4f9d\u5b58\u3057\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u4e00\u822c\u7684\u306a\u30b2\u30fc\u30e0\u958b\u767a\u306b\u304a\u3051\u308b\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001Unreal Engine\u3084Unity\u3067\u306e\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u7d39\u4ecb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">1. Unreal Engine\u3067\u306e\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p>Unreal Engine\u3067\u306f\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u3084\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u7279\u5b9a\u306e\u5ea7\u6a19\u306b\u77ac\u9593\u79fb\u52d5\u3055\u305b\u308b\u305f\u3081\u306b\u3001\u4ee5\u4e0b\u306e\u624b\u9806\u3092\u8e0f\u307f\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d7<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u65b0\u3057\u3044\u30c6\u30ec\u30dd\u30fc\u30c8\u95a2\u6570\u306e\u4f5c\u6210<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u30d7\u30ec\u30a4\u30e4\u30fc\u30ad\u30e3\u30e9\u30af\u30bf\u30fc\u3084\u30a2\u30af\u30bf\u30fc\u306b\u65b0\u3057\u3044\u95a2\u6570\u3092\u4f5c\u6210\u3057\u3001\u30c6\u30ec\u30dd\u30fc\u30c8\u5148\u306e\u5ea7\u6a19\uff08<code>FVector<\/code>\u578b\uff09\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n\n\n\n<li><code>SetActorLocation()<\/code> \u95a2\u6570\u3092\u4f7f\u7528\u3057\u3066\u3001\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u3092\u77ac\u6642\u306b\u6307\u5b9a\u3055\u308c\u305f\u5834\u6240\u306b\u79fb\u52d5\u3055\u305b\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">cpp\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3059\u308b<code>void AMyCharacter::TeleportToLocation(FVector TeleportDestination)\n{\n    SetActorLocation(TeleportDestination);\n}\n<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>\u30c8\u30ea\u30ac\u30fc\u3084\u30ad\u30fc\u5165\u529b\u3092\u8a2d\u5b9a<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u30c6\u30ec\u30dd\u30fc\u30c8\u3092\u884c\u3046\u305f\u3081\u306e\u30c8\u30ea\u30ac\u30fc\u3084\u30ad\u30fc\u5165\u529b\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002\u4f8b\u3048\u3070\u3001\u30d7\u30ec\u30a4\u30e4\u30fc\u304c\u300cE\u300d\u30ad\u30fc\u3092\u62bc\u3057\u305f\u6642\u306b\u30c6\u30ec\u30dd\u30fc\u30c8\u3059\u308b\u5834\u5408\u3001<code>InputComponent<\/code>\u306b\u30ad\u30fc\u30a4\u30d9\u30f3\u30c8\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">cpp\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3059\u308b<code>void AMyCharacter::SetupPlayerInputComponent(UInputComponent* PlayerInputComponent)\n{\n    Super::SetupPlayerInputComponent(PlayerInputComponent);\n    PlayerInputComponent-&gt;BindAction(\"Teleport\", IE_Pressed, this, &amp;AMyCharacter::HandleTeleport);\n}\n\nvoid AMyCharacter::HandleTeleport()\n{\n    TeleportToLocation(FVector(1000.f, 500.f, 200.f));  \/\/ \u4f8b: \u30c6\u30ec\u30dd\u30fc\u30c8\u5148\u306e\u5ea7\u6a19\u3092\u6307\u5b9a\n}\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">2. Unity\u3067\u306e\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3<\/h3>\n\n\n\n<p>Unity\u3067\u3082\u3001<code>Transform<\/code>\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u7c21\u5358\u306b\u30c6\u30ec\u30dd\u30fc\u30c8\u304c\u5b9f\u88c5\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">\u30b9\u30c6\u30c3\u30d7<\/h4>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u30b9\u30af\u30ea\u30d7\u30c8\u3067\u30c6\u30ec\u30dd\u30fc\u30c8\u3092\u5b9f\u88c5<\/strong>\n<ul class=\"wp-block-list\">\n<li>\u30d7\u30ec\u30a4\u30e4\u30fc\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u5ea7\u6a19\u3092\u76f4\u63a5\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u77ac\u6642\u306b\u79fb\u52d5\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<pre class=\"wp-block-preformatted\">csharp\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3059\u308b<code>using UnityEngine;\n\npublic class Teleportation : MonoBehaviour\n{\n    public Vector3 teleportDestination;\n\n    void Update()\n    {\n        if (Input.GetKeyDown(KeyCode.E))\n        {\n            Teleport();\n        }\n    }\n\n    void Teleport()\n    {\n        transform.position = teleportDestination;\n    }\n}\n<\/code><\/pre>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li><strong>\u30c6\u30ec\u30dd\u30fc\u30c8\u5148\u306e\u8a2d\u5b9a<\/strong>\n<ul class=\"wp-block-list\">\n<li><code>teleportDestination<\/code>\u3092\u30a8\u30c7\u30a3\u30bf\u3067\u8a2d\u5b9a\u3059\u308b\u304b\u3001\u30b3\u30fc\u30c9\u5185\u3067\u76f4\u63a5\u6307\u5b9a\u3057\u307e\u3059\u3002<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">3. \u30c6\u30ec\u30dd\u30fc\u30c8\u306e\u5fdc\u7528<\/h3>\n\n\n\n<p>\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u5358\u306b\u77ac\u9593\u79fb\u52d5\u3068\u3057\u3066\u4f7f\u3046\u3060\u3051\u3067\u306a\u304f\u3001\u7279\u5b9a\u306e\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u8868\u793a\u3055\u305b\u305f\u308a\u3001\u6642\u9593\u5dee\u3067\u79fb\u52d5\u3055\u305b\u305f\u308a\u3059\u308b\u3053\u3068\u3082\u53ef\u80fd\u3067\u3059\u3002\u4f8b\u3048\u3070\u3001Unreal Engine\u3067\u306f\u3001\u79fb\u52d5\u524d\u3084\u79fb\u52d5\u5f8c\u306b\u30a8\u30d5\u30a7\u30af\u30c8\u3092\u751f\u6210\u3059\u308b\u3053\u3068\u3067\u3001\u3088\u308a\u9b45\u529b\u7684\u306a\u6f14\u51fa\u3092\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">cpp\u30b3\u30fc\u30c9\u3092\u30b3\u30d4\u30fc\u3059\u308b<code>void AMyCharacter::TeleportToLocation(FVector TeleportDestination)\n{\n    \/\/ \u79fb\u52d5\u524d\u306e\u30a8\u30d5\u30a7\u30af\u30c8\u751f\u6210\n    UGameplayStatics::SpawnEmitterAtLocation(GetWorld(), TeleportEffect, GetActorLocation());\n\n    SetActorLocation(TeleportDestination);\n\n    \/\/ \u79fb\u52d5\u5f8c\u306e\u30a8\u30d5\u30a7\u30af\u30c8\u751f\u6210\n    UGameplayStatics::SpawnEmitterAtLocation(GetWorld(), TeleportEffect, GetActorLocation());\n}\n<\/code><\/pre>\n\n\n\n<p>\u3053\u3046\u3057\u305f\u30c6\u30af\u30cb\u30c3\u30af\u3092\u4f7f\u3046\u3053\u3068\u3067\u3001\u30c6\u30ec\u30dd\u30fc\u30c8\u306e\u6f14\u51fa\u3092\u5f37\u5316\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3069\u306e\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30f3\u3067\u306e\u5b9f\u88c5\u3092\u9032\u3081\u305f\u3044\u304b\u3001\u3055\u3089\u306b\u8a73\u7d30\u306a\u8aac\u660e\u304c\u5fc5\u8981\u3067\u3042\u308c\u3070\u6559\u3048\u3066\u304f\u3060\u3055\u3044\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u3084\u308a\u65b9 ChatGPT: ChatGPT \u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u65b9\u6cd5\u306f\u3001\u30b2\u30fc\u30e0\u30a8\u30f3\u30b8\u30f3\u3084\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u74b0\u5883\u306b\u4f9d\u5b58\u3057\u307e\u3059\u304c\u3001\u3053\u3053\u3067\u306f\u4e00\u822c\u7684\u306a\u30b2\u30fc\u30e0\u958b\u767a\u306b\u304a\u3051\u308b\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u5b9f\u88c5\u65b9\u6cd5\u3092\u89e3\u8aac\u3057\u307e\u3059\u3002\u4f8b\u3048 &hellip; <a href=\"http:\/\/www.tyosuke20xx.com\/blog\/?p=25553\" class=\"more-link\"><span class=\"screen-reader-text\">&#8220;\u30c6\u30ec\u30dd\u30fc\u30c6\u30fc\u30b7\u30e7\u30f3\u306e\u3084\u308a\u65b9&#8221; \u306e<\/span>\u7d9a\u304d\u3092\u8aad\u3080<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_uf_show_specific_survey":0,"_uf_disable_surveys":false,"footnotes":""},"categories":[54],"tags":[15],"class_list":["post-25553","post","type-post","status-publish","format-standard","hentry","category-vr","tag-vr"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/25553","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=25553"}],"version-history":[{"count":1,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/25553\/revisions"}],"predecessor-version":[{"id":25554,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/25553\/revisions\/25554"}],"wp:attachment":[{"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=25553"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=25553"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.tyosuke20xx.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=25553"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}