CONNEXION
  • RetourJeux
    • Sorties
    • Hit Parade
    • Les + populaires
    • Les + attendus
    • Soluces
    • Tous les Jeux
    • Gaming
  • RetourActu Gaming
    • News
    • Astuces
    • Tests
    • Previews
    • Toute l'actu gaming
  • RetourBons plans
    • Bons plans
    • Bons plans Smartphone
    • Bons plans Hardware
    • Bons plans Image et Son
    • Bons plans Amazon
    • Bons plans Cdiscount
    • Bons plans Decathlon
    • Bons plans Fnac
    • Tous les Bons plans
  • RetourJVTech
    • Actus High-Tech
    • Intelligence Artificielle
    • Smartphones
    • Mobilité urbaine
    • Hardware
    • Image et son
    • Tutoriels
    • Tests produits High-Tech
    • Guides d'achat High-Tech
    • JVTech
  • RetourCulture
    • Actus Culture
    • Culture
  • RetourVidéos
    • A la une
    • Gaming Live
    • Vidéos Tests
    • Vidéos Previews
    • Gameplay
    • Trailers
    • Chroniques
    • Replay Web TV
    • Toutes les vidéos
  • RetourForums
    • Hardware PC
    • PS5
    • Switch 2
    • Xbox Series
    • Switch
    • Pokemon pocket
    • FC 25 Ultimate Team
    • League of Legends
    • Tous les Forums
  • PC
  • PS5
  • Xbox Series
  • Switch 2
  • PS4
  • One
  • Switch
  • iOS
  • Android
  • MMO
  • RPG
  • FPS
En ce moment Genshin Impact Valhalla Breath of the wild Animal Crossing GTA 5 Red dead 2
Liste des sujets

[Unity 3D4.3]Vector.Lerp

Pseudo supprimé
Pseudo supprimé 24 novembre 2013 à 20:21:24

Salut tout le monde :)
Je fais un script qui fais que si je clic droit je vais effectuer un Vector.Lerp pour viser en restant appuyé mais il ne se déplace pas sur le transform mais cette distance dépend du float que je mets ( Vector3.Lerp(..., 1.0)) et ne fais pas le déplacement il se téléporte direct. :(
ET aussi lorsque que je relâche le bouton de la souris il doit faire le déplacement inverse mais il ne le fais pas.Message d'erreur :
MissingFieldException: UnityEngine.Transform.postion
Boo.Lang.Runtime.DynamicDispatching.PropertyDispat
cherFactory.FindExtension
(IEnumerable`1 candidates)
Boo.Lang.Runtime.DynamicDispatching.PropertyDispat
cherFactory.Create
(SetOrGet gos)
Boo.Lang.Runtime.DynamicDispatching.PropertyDispat
cherFactory.CreateSetter
()
Boo.Lang.Runtime.RuntimeServices.DoCreatePropSetDi
spatcher
(System.Object target, System.Type type, System.String name, System.Object value)
Boo.Lang.Runtime.RuntimeServices.CreatePropSetDisp
atcher
(System.Object target, System.String name, System.Object value)
Boo.Lang.Runtime.RuntimeServices+<SetProperty>c__A
nonStorey19.<>m__F
()
Boo.Lang.Runtime.DynamicDispatching.DispatcherCach
e.Get
(Boo.Lang.Runtime.DynamicDispatching.DispatcherKey

key, Boo.Lang.Runtime.DynamicDispatching.DispatcherFact
ory
factory)
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.String cacheKeyName, System.Type[] cacheKeyTypes, Boo.Lang.Runtime.DynamicDispatching.DispatcherFact
ory
factory)
Boo.Lang.Runtime.RuntimeServices.GetDispatcher (System.Object target, System.Object[] args, System.String cacheKeyName, Boo.Lang.Runtime.DynamicDispatching.DispatcherFact
ory
factory)
Boo.Lang.Runtime.RuntimeServices.SetProperty (System.Object target, System.String name, System.Object value)
scriptRevolver.backVisee () (at Assets/Revolver/scriptRevolver.js:37)
scriptRevolver.Update () (at Assets/Revolver/scriptRevolver.js:23)

+ le script :
http://pastebin.com/4mVTBasB
Merci d'avance :)

Pseudo supprimé
Pseudo supprimé 26 novembre 2013 à 18:25:25

:up:

Sous forums
  • Aide à l'achat Mac
  • Création de Jeux
  • Linux
  • Création de sites web
  • Programmation
  • Internet
  • Steam Deck
  • Macintosh
  • Hardware
La vidéo du moment